Skip to content

Commit

Permalink
Add fix for Snyk sarif file incompatibility
Browse files Browse the repository at this point in the history
Null value is not supported. Issue reported at github/codeql-action#2187
  • Loading branch information
patrikjuvonen authored Dec 11, 2024
1 parent 7e369b3 commit ecff451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/snyk-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
with:
image: patrikjuvonen/docker-nginx-http3:snyk-ci
args: --file=Dockerfile
# Patch for https://github.com/github/codeql-action/issues/2187
- name: Replace security-severity undefined for license-related findings
run: sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down

0 comments on commit ecff451

Please sign in to comment.