Skip to content

Commit

Permalink
fix snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Sep 22, 2023
1 parent 076f130 commit b358368
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
disable-sudo: true
egress-policy: block
egress-policy: audit
allowed-endpoints: >
api.adoptium.net:443
api.foojay.io
Expand All @@ -39,7 +39,7 @@ jobs:
services.gradle.org:443
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Run Snyk test
uses: snyk/actions/gradle@master
uses: snyk/actions/gradle-jdk11@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand All @@ -57,7 +57,7 @@ jobs:
with:
sarif_file: snyk.sarif
- name: Run Snyk monitor
uses: snyk/actions/gradle@master
uses: snyk/actions/gradle-jdk11@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand Down

0 comments on commit b358368

Please sign in to comment.