Skip to content

Commit d36ab96

Browse files
committed
Update sast.yml
1 parent e07ea8a commit d36ab96

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/sast.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ jobs:
6868
env:
6969
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
7070
with:
71-
args: --severity-threshold=medium --json-file-output=snyk-results.json
71+
args: --severity-threshold=medium --json-file-output=snyk-results.json --sarif-file-output=snyk.sarif
72+
73+
- name: Upload result to GitHub Code Scanning
74+
uses: github/codeql-action/upload-sarif@v3
75+
with:
76+
sarif_file: snyk.sarif
7277

7378
- name: Upload Snyk results
7479
if: always()

0 commit comments

Comments
 (0)