File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 49
49
python-version : ' 3.12.7'
50
50
51
51
- name : Create Sarif file's dir
52
- run : mkdir ./ sarif
52
+ run : mkdir sarif
53
53
54
54
- name : Install dependencies
55
55
run : |
@@ -63,21 +63,20 @@ jobs:
63
63
env :
64
64
SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
65
65
with :
66
- args : --sarif-file-output=./sarif/snyk-vulnerabilities.sarif
67
- command : monitor
66
+ args : --sarif-file-output=sarif/snyk-vulnerabilities.sarif
68
67
69
68
70
69
# Runs Snyk Open Source (SCA) analysis and uploads result to Snyk.
71
70
- name : Snyk Open Source monitor
72
71
continue-on-error : true # To make sure that SARIF upload gets called
73
72
env :
74
73
SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
75
- run : snyk test monitor --all-projects --sarif-file-output=./ sarif/snyk-SCA.sarif
74
+ run : snyk test monitor --all-projects --sarif-file-output=sarif/snyk-SCA.sarif
76
75
77
76
# Push the Snyk Code results into GitHub Code Scanning tab
78
77
- name : Upload result to GitHub Code Scanning
79
78
uses : github/codeql-action/upload-sarif@6349095d19ec30397ffb02a63b7aa4f867deb563
80
79
env :
81
80
SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
82
81
with :
83
- sarif_file : ./ sarif
82
+ sarif_file : sarif
You can’t perform that action at this time.
0 commit comments