Skip to content

Commit 23599ed

Browse files
committed
snyk wip
1 parent 08e559f commit 23599ed

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/snyk-security-scan.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
# see this PR regarding the permissions needed for this workflow
1111
# https://github.com/snyk/actions/pull/79
12-
permissions:
13-
# required for all workflows
14-
security-events: write
15-
# only required for workflows in private repositories
16-
actions: read
17-
contents: read
12+
# permissions:
13+
# # required for all workflows
14+
# security-events: write
15+
# # only required for workflows in private repositories
16+
# actions: read
17+
# contents: read
18+
env:
19+
# https://github.com/snyk/actions/pull/79
20+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1821
steps:
1922
- uses: actions/checkout@v4
2023
- name: Setup Python
@@ -26,5 +29,3 @@ jobs:
2629
- name: Run Snyk
2730
continue-on-error: true
2831
run: snyk monitor --all-projects --severity-threshold=high
29-
env:
30-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)