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 b62a334 commit 2c76b29Copy full SHA for 2c76b29
.github/workflows/snyk-code.yml
@@ -0,0 +1,23 @@
1
+---
2
+
3
+name: Snyk Code (Java gradle-jdk17)
4
5
+on: push # yamllint disable-line rule:truthy
6
7
+jobs:
8
+ security:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@master
12
+ - name: Run Snyk to check for vulnerabilities
13
+ uses: snyk/actions/gradle-jdk17@master
14
+ continue-on-error: true # To make sure that SARIF upload gets called
15
+ env:
16
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
17
+ with:
18
+ command: code test
19
+ args: --sarif-file-output=snyk-code.sarif
20
+ - name: Upload result to GitHub Code Scanning
21
+ uses: github/codeql-action/upload-sarif@v3
22
23
+ sarif_file: 'snyk-code.sarif'
0 commit comments