We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c93d7 commit c0ad7b4Copy full SHA for c0ad7b4
.github/snyk-test-sarif.yml
@@ -0,0 +1,18 @@
1
+name: "Upload package.json SARIF"
2
+# Run workflow each time code is pushed to your repository.
3
+on: push
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - uses: snyk/actions/setup@master
10
+ - name: Snyk Test
11
+ run: snyk test --sarif-file-output=snyk-sarif1.json
12
+ continue-on-error: true
13
+ env:
14
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
15
+ - name: Upload SARIF file
16
+ uses: github/codeql-action/upload-sarif@v1
17
+ with:
18
+ sarif_file: snyk-sarif1.json
0 commit comments