exclude G701
This commit is contained in:
parent
670dc398e4
commit
944d2702b2
2
.github/workflows/security.yml
vendored
2
.github/workflows/security.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: cosmos/gosec@master
|
uses: cosmos/gosec@master
|
||||||
with:
|
with:
|
||||||
# we let the report trigger content trigger a failure using the GitHub Security features.
|
# we let the report trigger content trigger a failure using the GitHub Security features.
|
||||||
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
args: '-no-fail -fmt sarif -out results.sarif -exclude=G701 ./...'
|
||||||
if: "env.GIT_DIFF_FILTERED != ''"
|
if: "env.GIT_DIFF_FILTERED != ''"
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user