Skip to content

Commit

Permalink
Add Github result uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
mpogr committed Sep 3, 2024
1 parent 3314e61 commit 7582de7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/Scan-with-Snyk-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ jobs:
- uses: actions/checkout@master
- name: Run Snyk to check for SAST vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --severity-threshold=high
command: code test
args: --all-projects --sarif-file-output=snyk.sarif
command: code test
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif

0 comments on commit 7582de7

Please sign in to comment.