File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,12 @@ on: # yamllint disable-line rule:truthy
1010
1111jobs :
1212 security :
13+ name : Snyk Open Source (Node.js)
1314 runs-on : ubuntu-latest
15+ permissions :
16+ actions : read
17+ contents : read
18+ security-events : write
1419 steps :
1520 - uses : actions/checkout@master
1621 - name : Run Snyk to check for vulnerabilities
1924 env :
2025 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
2126 with :
22- args : --sarif-file-output=snyk.sarif
23- # yamllint disable rule:comments-indentation
24- # - name: Upload result to GitHub Code Scanning
25- # uses: github/codeql-action/upload-sarif@v2
26- # with:
27- # sarif_file: snyk.sarif
28- # yamllint enable rule:comments-indentation
27+ args : --sarif-file-output=snyk-code.sarif
28+ - name : Upload result to GitHub Code Scanning
29+ uses : github/codeql-action/upload-sarif@v3
30+ with :
31+ sarif_file : ' snyk-code.sarif'
You can’t perform that action at this time.
0 commit comments