File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- # yamllint disable rule:line-length
2
- # This workflow will build a .NET project
3
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
4
- # yamllint enable rule:line-length
5
1
---
6
2
7
3
name : Snyk Code analysis
19
15
- uses : actions/checkout@master
20
16
- name : Run Snyk to check for vulnerabilities
21
17
uses : snyk/actions/node@master
18
+ continue-on-error : true # To make sure that SARIF upload gets called
22
19
env :
23
20
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
21
+ 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
Original file line number Diff line number Diff line change 169
169
# Built Visual Studio Code Extensions
170
170
* .vsix
171
171
172
+ # Static Analysis Results Interchange Format
173
+ * .sarif
You can’t perform that action at this time.
0 commit comments