Skip to content

Commit 11330ca

Browse files
authored
Update snyk-security.yml
1 parent ddae796 commit 11330ca

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/snyk-security.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on:
88

99
permissions:
1010
contents: read
11-
11+
1212
jobs:
1313
security:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@master
1717
- name: Run Snyk to check for vulnerabilities
1818
uses: snyk/actions/python@master
19+
continue-on-error: true # To make sure that SARIF upload gets called
1920
env:
2021
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
22+
with:
23+
args: --sarif-file-output=snyk.sarif
24+
- name: Upload result to GitHub Code Scanning
25+
uses: github/codeql-action/upload-sarif@v2
26+
with:
27+
sarif_file: snyk.sarif

0 commit comments

Comments
 (0)