File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4949 python-version : ' 3.12.7'
5050
5151 - name : Create Sarif file's dir
52- run : mkdir sarif
52+ run : mkdir ./ sarif
5353
5454 - name : Install dependencies
5555 run : |
6363 env :
6464 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
6565 with :
66- args : --sarif-file-output=/sarif/snyk-vulnerabilities.sarif
66+ args : --sarif-file-output=. /sarif/snyk-vulnerabilities.sarif
6767 command : monitor
6868
6969
@@ -72,12 +72,12 @@ jobs:
7272 continue-on-error : true # To make sure that SARIF upload gets called
7373 env :
7474 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
75- 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
7676
7777 # Push the Snyk Code results into GitHub Code Scanning tab
7878 - name : Upload result to GitHub Code Scanning
7979 uses : github/codeql-action/upload-sarif@6349095d19ec30397ffb02a63b7aa4f867deb563
8080 env :
8181 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
8282 with :
83- sarif_file : /sarif
83+ sarif_file : . /sarif
You can’t perform that action at this time.
0 commit comments