Skip to content

Commit

Permalink
fix: Add category when uploading Sarif file
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 24, 2023
1 parent b1d8db3 commit 3fb888b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: github/codeql-action/upload-sarif@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12
with:
sarif_file: snyk.sarif
category: "Snyk Open Source"

- name: Run Snyk to scan for bad code
uses: snyk/actions/node@806182742461562b67788a64410098c9d9b96adb # master
Expand All @@ -51,6 +52,7 @@ jobs:
uses: github/codeql-action/upload-sarif@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12
with:
sarif_file: snyk-code.sarif
category: "Snyk Code"

- name: Run Snyk to check for vulnerabilities (monitor)
uses: snyk/actions/node@806182742461562b67788a64410098c9d9b96adb # master
Expand Down

0 comments on commit 3fb888b

Please sign in to comment.