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
10
10
11
11
jobs :
12
12
security :
13
+ name : Snyk Open Source (Node.js)
13
14
runs-on : ubuntu-latest
15
+ permissions :
16
+ actions : read
17
+ contents : read
18
+ security-events : write
14
19
steps :
15
20
- uses : actions/checkout@master
16
21
- name : Run Snyk to check for vulnerabilities
19
24
env :
20
25
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
21
26
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