exclude gosec G703

This commit is contained in:
0xmuralik 2022-10-18 16:26:48 +05:30
parent 676d325e66
commit 87dc78256d

View File

@ -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 -exclude=G701 ./...' args: '-no-fail -fmt sarif -out results.sarif -exclude=G701,G703 ./...'
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