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