File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 8
8
env :
9
9
REPORT_FILE : test.json
10
10
steps :
11
- - uses : actions/checkout@master
11
+ - uses : actions/checkout@v3
12
12
- uses : snyk/actions/setup@master
13
+ with :
14
+ snyk-version : v1.931.0
13
15
14
- - uses : actions/setup-java@v2
16
+ - uses : actions/setup-java@v3
15
17
with :
16
- distribution : zulu
18
+ distribution : temurin
17
19
java-version : 17
18
20
19
21
- name : Setup Gradle
27
29
--configuration-matching='^runtimeClasspath$'
28
30
--json-file-output=${{ env.REPORT_FILE }}
29
31
--org=radar-base
32
+
33
+ - name : Report new vulnerabilities
34
+ uses : thehyve/report-vulnerability@master
35
+ with :
36
+ report-file : ${{ env.REPORT_FILE }}
37
+ env :
38
+ TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ if : ${{ failure() }}
Original file line number Diff line number Diff line change 7
7
security :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@master
10
+ - uses : actions/checkout@v3
11
11
- uses : snyk/actions/setup@master
12
+ with :
13
+ snyk-version : v1.931.0
12
14
13
- - uses : actions/setup-java@v2
15
+ - uses : actions/setup-java@v3
14
16
with :
15
- distribution : zulu
17
+ distribution : temurin
16
18
java-version : 17
17
19
18
20
- name : Setup Gradle
23
25
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
24
26
run : >
25
27
snyk test
26
- --severity-threshold=high
27
28
--configuration-matching='^runtimeClasspath$'
28
29
--fail-on=upgradable
29
30
--org=radar-base
31
+ --severity-threshold=high
You can’t perform that action at this time.
0 commit comments