Skip to content

Commit b53af46

Browse files
committed
Add gosec scan
Signed-off-by: Fabricio Aguiar <[email protected]>
1 parent 4bcef17 commit b53af46

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@ jobs:
3333
uses: github/codeql-action/analyze@v3
3434
with:
3535
category: "/language:${{matrix.language}}"
36+
37+
- name: Run Gosec Security Scanner
38+
uses: securego/gosec@master
39+
with:
40+
args: '-no-fail -fmt sarif -out gosec.sarif ./...'
41+
42+
- name: Upload SARIF file
43+
uses: github/codeql-action/upload-sarif@v2
44+
with:
45+
sarif_file: gosec.sarif

0 commit comments

Comments
 (0)