Skip to content

Commit

Permalink
Merge pull request #888 from google/gosec-ignore-generated
Browse files Browse the repository at this point in the history
ci: Ignore generated files in gosec scans.
  • Loading branch information
jaqx0r authored Jun 24, 2024
2 parents 25327a8 + b971bd1 commit 8d2101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,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 -tags fuzz ./...'
args: '-no-fail -exclude-generated -fmt sarif -out results.sarif -tags fuzz ./...'
- uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
Expand Down

0 comments on commit 8d2101c

Please sign in to comment.