-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 6c4fa43.
- Loading branch information
Showing
6 changed files
with
1 addition
and
215 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 |
---|---|---|
|
@@ -56,31 +56,4 @@ jobs: | |
- name: Update version | ||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | ||
with: | ||
arguments: release -Prelease.useAutomaticVersion=true | ||
|
||
vulnerability-report: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
SNYK_ORG: legal-aid-agency | ||
SNYK_TEST_EXCLUDE: build,generated | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate Snyk report and upload to LAA Dashboard | ||
uses: snyk/actions/[email protected] | ||
continue-on-error: true | ||
with: | ||
command: monitor | ||
args: --org=${SNYK_ORG} --all-projects --exclude=$SNYK_TEST_EXCLUDE | ||
- name: Generate sarif Snyk report | ||
uses: snyk/actions/[email protected] | ||
continue-on-error: true | ||
with: | ||
args: --org=${SNYK_ORG} --all-projects --exclude=$SNYK_TEST_EXCLUDE --sarif-file-output=snyk-report.sarif | ||
- name: Upload result to GitHub Code Scanning | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: snyk-report.sarif | ||
arguments: release -Prelease.useAutomaticVersion=true |
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 |
---|---|---|
|
@@ -54,35 +54,3 @@ jobs: | |
arguments: publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
vulnerability-scan: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
SNYK_ORG: legal-aid-agency | ||
SNYK_TEST_EXCLUDE: build,generated | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
- uses: snyk/actions/[email protected] | ||
- name: Install snyk-delta | ||
run: | | ||
npm config set prefix '~/.local/' | ||
mkdir -p ~/.local/bin | ||
export PATH="$HOME/.local/bin/:$PATH" | ||
npm install -g snyk-delta | ||
- name: Identify new vulnerabilities | ||
run: ./snyk/snyk_delta_all_projects.sh --org=$SNYK_ORG --exclude=$SNYK_TEST_EXCLUDE | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run code test | ||
uses: snyk/actions/[email protected] | ||
with: | ||
command: code test | ||
args: --org=${SNYK_ORG} |
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 |
---|---|---|
|
@@ -93,5 +93,3 @@ test-results/ | |
|
||
.idea | ||
|
||
# Snyk | ||
.dccache |
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
This file was deleted.
Oops, something went wrong.