Skip to content

Commit

Permalink
ci: load snyk policy from env [DO-2949] (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-karwacki-rdx authored Jan 15, 2025
2 parents 1db0b2c + f6aca7d commit 322e503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
secret_prefix: 'SNYK'
secret_name: ${{ secrets.AWS_SECRET_NAME_SNYK }}
parse_json: true
- name: Create .snyk file
run: echo "${{ vars.DOT_SNYK_FILE }}" > .snyk
- name: Run Snyk to check for deps vulnerabilities
uses: RDXWorks-actions/snyk-actions/gradle-jdk17@master
with:
Expand All @@ -70,6 +72,8 @@ jobs:
secret_prefix: 'SNYK'
secret_name: ${{ secrets.AWS_SECRET_NAME_SNYK }}
parse_json: true
- name: Create .snyk file
run: echo "${{ vars.DOT_SNYK_FILE }}" > .snyk
- name: Run Snyk to check for code vulnerabilities
uses: RDXWorks-actions/snyk-actions/gradle-jdk17@master
continue-on-error: true
Expand Down
14 changes: 0 additions & 14 deletions .snyk

This file was deleted.

0 comments on commit 322e503

Please sign in to comment.