Skip to content

Commit 5ed9d26

Browse files
committed
Fix deprecated action
1 parent a160dd0 commit 5ed9d26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/scheduled-snyk.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ on:
88
jobs:
99
security:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
security-events: write
1114

1215
steps:
1316
- uses: actions/checkout@v3
1417

1518
- name: Run Snyk to check for vulnerabilities
16-
uses: snyk/actions/gradle-jdk17@master
19+
uses: snyk/actions/gradle-8-jdk17@master
1720
continue-on-error: true # To make sure that SARIF upload gets called
1821
env:
1922
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)