mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-10-13 22:23:54 +02:00
fix: snyk-docker-vulnerability-scan sarif
See https://github.com/github/codeql-action/issues/2187#issuecomment-2043220400
This commit is contained in:
parent
c23b68a9ef
commit
7e729bf4dd
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ jobs:
|
||||||
args: --file=Dockerfile
|
args: --file=Dockerfile
|
||||||
- name: Output sarif file
|
- name: Output sarif file
|
||||||
run: cat snyk.sarif
|
run: cat snyk.sarif
|
||||||
|
- name: fix security-severity "null" to "0" for valid sarif format
|
||||||
|
run: sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
|
||||||
- name: Upload result to GitHub Code Scanning
|
- name: Upload result to GitHub Code Scanning
|
||||||
uses: github/codeql-action/upload-sarif@v4
|
uses: github/codeql-action/upload-sarif@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue