Skip to content

Commit 8d2101c

Browse files
authored
Merge pull request #888 from google/gosec-ignore-generated
ci: Ignore generated files in gosec scans.
2 parents 25327a8 + b971bd1 commit 8d2101c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- uses: securego/gosec@master
7777
with:
7878
# we let the report trigger content trigger a failure using the GitHub Security features.
79-
args: '-no-fail -fmt sarif -out results.sarif -tags fuzz ./...'
79+
args: '-no-fail -exclude-generated -fmt sarif -out results.sarif -tags fuzz ./...'
8080
- uses: github/codeql-action/upload-sarif@v3
8181
with:
8282
# Path to SARIF file relative to the root of the repository

0 commit comments

Comments
 (0)