ci: disable Go test semgrep rules (#12175)

This commit is contained in:
Luiz Aoqui 2022-03-02 20:30:27 -05:00 committed by GitHub
parent 0f6923c750
commit fe38da1137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@ rules:
# TODO(luiz): figure out how to do a 'delete line' fix.
fix: " "
paths:
exclude: ["*"]
include:
- "*_test.go"
@ -43,6 +44,7 @@ rules:
severity: "WARNING"
fix: "assert.$FUNC($T, $...ARGS)"
paths:
exclude: ["*"]
include:
- "*_test.go"
- id: "tests-no-assert-without-t-nested"
@ -64,6 +66,7 @@ rules:
severity: "WARNING"
fix: "assert.$FUNC($T, $...ARGS)"
paths:
exclude: ["*"]
include:
- "*_test.go"
- id: "tests-no-require-without-t"
@ -91,6 +94,7 @@ rules:
severity: "WARNING"
fix: "require.$FUNC($T, $...ARGS)"
paths:
exclude: ["*"]
include:
- "*_test.go"
- id: "tests-no-require-without-t-nested"
@ -112,5 +116,6 @@ rules:
severity: "WARNING"
fix: "require.$FUNC($T, $...ARGS)"
paths:
exclude: ["*"]
include:
- "*_test.go"