Skip to content

Commit 095b466

Browse files
ci: fix snyk args to match all configs (#41)
1 parent d251177 commit 095b466

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pr-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ on:
44
branches:
55
- main
66
pull_request_target:
7-
branches:
7+
branches:
88
- main
99

1010
jobs:
1111
build:
1212
runs-on: ubuntu-20.04
1313
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
1515
- name: Check out code
1616
uses: actions/[email protected]
1717
with:
1818
ref: ${{github.event.pull_request.head.ref}}
1919
repository: ${{github.event.pull_request.head.repo.full_name}}
2020
fetch-depth: 0
21-
21+
2222
- name: create checksum file
2323
uses: hypertrace/github-actions/checksum@main
2424

@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
username: ${{ secrets.DOCKERHUB_READ_USER }}
3838
password: ${{ secrets.DOCKERHUB_READ_TOKEN }}
39-
39+
4040
- name: Build with Gradle
4141
uses: hypertrace/github-actions/gradle@main
42-
with:
42+
with:
4343
args: build dockerBuildImages
4444

4545
validate-helm-charts:
@@ -58,7 +58,7 @@ jobs:
5858
snyk-scan:
5959
runs-on: ubuntu-20.04
6060
steps:
61-
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
61+
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
6262
- name: Check out code
6363
uses: actions/[email protected]
6464
with:
@@ -68,6 +68,6 @@ jobs:
6868
- name: Setup snyk
6969
uses: snyk/actions/[email protected]
7070
- name: Snyk test
71-
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$'
71+
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk
7272
env:
7373
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)