Skip to content

Commit 970a7f6

Browse files
committed
create sarif file using args and run next step always
1 parent 63f0574 commit 970a7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/snyk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
env:
1111
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1212
with:
13-
args: --severity-threshold=high --report
14-
sarif: true
13+
args: --severity-threshold=high --sarif --sarif-file-output=snyk.sarif --report
1514
- name: Upload result to GitHub Code Scanning
1615
uses: github/codeql-action/upload-sarif@v2
1716
with:
1817
sarif_file: snyk.sarif
18+
if: always()

0 commit comments

Comments
 (0)