Commit 895d441 1 parent 23599ed commit 895d441 Copy full SHA for 895d441
File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 4
4
workflow_call :
5
5
6
6
jobs :
7
- synk -security-scan :
7
+ snyk-python -security-scan :
8
8
name : Snyk security scan
9
9
runs-on : ubuntu-latest
10
10
# see this PR regarding the permissions needed for this workflow
11
11
# 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
18
- env :
19
- # https://github.com/snyk/actions/pull/79
20
- SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
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
21
18
steps :
22
19
- uses : actions/checkout@v4
23
20
- name : Setup Python
29
26
- name : Run Snyk
30
27
continue-on-error : true
31
28
run : snyk monitor --all-projects --severity-threshold=high
29
+ env :
30
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
You can’t perform that action at this time.
0 commit comments