4
4
branches :
5
5
- main
6
6
pull_request_target :
7
- branches :
7
+ branches :
8
8
- main
9
9
10
10
jobs :
11
11
build :
12
12
runs-on : ubuntu-20.04
13
13
steps :
14
- # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
14
+ # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
15
15
- name : Check out code
16
16
17
17
with :
18
18
ref : ${{github.event.pull_request.head.ref}}
19
19
repository : ${{github.event.pull_request.head.repo.full_name}}
20
20
fetch-depth : 0
21
21
submodules : recursive
22
-
22
+
23
23
- name : create checksum file
24
24
uses : hypertrace/github-actions/checksum@main
25
25
@@ -37,10 +37,10 @@ jobs:
37
37
with :
38
38
username : ${{ secrets.DOCKERHUB_READ_USER }}
39
39
password : ${{ secrets.DOCKERHUB_READ_TOKEN }}
40
-
40
+
41
41
- name : Build with Gradle
42
42
uses : hypertrace/github-actions/gradle@main
43
- with :
43
+ with :
44
44
args : build dockerBuildImages
45
45
46
46
validate-helm-charts :
@@ -60,19 +60,19 @@ jobs:
60
60
snyk-scan :
61
61
runs-on : ubuntu-20.04
62
62
steps :
63
- # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
63
+ # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
64
64
- name : Check out code
65
65
66
66
with :
67
67
ref : ${{github.event.pull_request.head.ref}}
68
68
repository : ${{github.event.pull_request.head.repo.full_name}}
69
69
fetch-depth : 0
70
70
submodules : recursive
71
-
71
+
72
72
- name : Setup snyk
73
73
uses :
snyk/actions/[email protected]
74
74
- name : Snyk test
75
- run : snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$'
75
+ run : snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk
76
76
env :
77
77
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
78
78
GRADLE_OPTS : -Dorg.gradle.workers.max=1 # Snyk doesn't handle parallelism
0 commit comments