Skip to content

Commit

Permalink
fix(ci): whitelist api dir in gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Feb 11, 2025
1 parent 6f772e9 commit 606712a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: securego/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 ./..."
args: "-no-fail -fmt sarif -out results.sarif ./... -exclude=./api"

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit 606712a

Please sign in to comment.