File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4747 uses : actions/setup-python@19e4675e06535f6b54e894da5c1f044400bb4996
4848 with :
4949 python-version : ' 3.12.7'
50+
51+ - name : Create Sarif file's dir
52+ run : mkdir sarif
5053
5154 - name : Install dependencies
5255 run : |
6063 env :
6164 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
6265 with :
63- args : --sarif-file-output=. /sarif/snyk-vulnerabilities.sarif
66+ args : --sarif-file-output=/sarif/snyk-vulnerabilities.sarif
6467 command : monitor
6568
6669
@@ -69,12 +72,12 @@ jobs:
6972 continue-on-error : true # To make sure that SARIF upload gets called
7073 env :
7174 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
72- run : snyk test monitor --all-projects --sarif-file-output=. /sarif/snyk-SCA.sarif
75+ run : snyk test monitor --all-projects --sarif-file-output=/sarif/snyk-SCA.sarif
7376
7477 # Push the Snyk Code results into GitHub Code Scanning tab
7578 - name : Upload result to GitHub Code Scanning
7679 uses : github/codeql-action/upload-sarif@6349095d19ec30397ffb02a63b7aa4f867deb563
7780 env :
7881 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
7982 with :
80- sarif_file : . /sarif/
83+ sarif_file : /sarif
You can’t perform that action at this time.
0 commit comments