-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix snyk args to match all configs (#41)
- Loading branch information
1 parent
d251177
commit 095b466
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,21 @@ on: | |
branches: | ||
- main | ||
pull_request_target: | ||
branches: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | ||
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | ||
- name: Check out code | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{github.event.pull_request.head.ref}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
fetch-depth: 0 | ||
|
||
- name: create checksum file | ||
uses: hypertrace/github-actions/checksum@main | ||
|
||
|
@@ -36,10 +36,10 @@ jobs: | |
with: | ||
username: ${{ secrets.DOCKERHUB_READ_USER }} | ||
password: ${{ secrets.DOCKERHUB_READ_TOKEN }} | ||
|
||
- name: Build with Gradle | ||
uses: hypertrace/github-actions/gradle@main | ||
with: | ||
with: | ||
args: build dockerBuildImages | ||
|
||
validate-helm-charts: | ||
|
@@ -58,7 +58,7 @@ jobs: | |
snyk-scan: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | ||
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | ||
- name: Check out code | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -68,6 +68,6 @@ jobs: | |
- name: Setup snyk | ||
uses: snyk/actions/[email protected] | ||
- name: Snyk test | ||
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' | ||
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |