File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ name : Snyk Code analysis
4
+
5
+ on : # yamllint disable-line rule:truthy
6
+ push :
7
+ branches : ["main", "develop", "feature/*"]
8
+ pull_request :
9
+ branches : ["main"]
10
+
11
+ jobs :
12
+ security :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@master
16
+ - name : Run Snyk to check for vulnerabilities
17
+ uses : snyk/actions/gradle-jdk17@master
18
+ continue-on-error : true # To make sure that SARIF upload gets called
19
+ env :
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
You can’t perform that action at this time.
0 commit comments