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 638d2f6Copy full SHA for 638d2f6
.github/workflows/snyk-code.yml
@@ -0,0 +1,27 @@
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
+ permissions:
11
+ actions: read
12
+ contents: read
13
+ security-events: write
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
+ command: code test
23
+ args: --sarif-file-output=snyk-code.sarif
24
+ - name: Upload result to GitHub Code Scanning
25
+ uses: github/codeql-action/upload-sarif@v3
26
27
+ sarif_file: 'snyk-code.sarif'
0 commit comments