File tree 1 file changed +6
-13
lines changed
1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Snyk
2
2
3
3
on :
4
4
merge_group :
5
+ workflow_dispatch :
5
6
pull_request :
6
7
types :
7
8
- opened
10
11
branches :
11
12
- master
12
13
schedule :
13
- - cron : " 30 0 1,15 * *"
14
+ - cron : ' 30 0 1,15 * *'
14
15
15
16
permissions :
16
- security-events : write
17
- actions : read
18
17
contents : read
19
18
20
19
concurrency :
21
20
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
22
21
cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
23
22
24
23
jobs :
24
+
25
25
check :
26
+
26
27
name : Check for Vulnerabilities
27
28
runs-on : ubuntu-latest
28
29
34
35
with :
35
36
ref : ${{ github.event.pull_request.head.sha || github.ref }}
36
37
37
- - uses : snyk/actions/python-3.8@cdb760004ba9ea4d525f2e043745dfe85bb9077e # pinned 2023-06-13
38
- continue-on-error : true # Make sure the SARIF upload is called
38
+ -
uses :
snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
39
39
env :
40
- SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
41
- with :
42
- args : --sarif-file-output=snyk.sarif
43
-
44
- - name : Upload result to GitHub Code Scanning
45
- uses : github/codeql-action/upload-sarif@v3
46
- with :
47
- sarif_file : snyk.sarif
40
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
You can’t perform that action at this time.
0 commit comments