Skip to content

Commit

Permalink
ci: make snyke steps skippable
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Jan 31, 2025
1 parent 43e934a commit d826785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ jobs:
image: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.TOOL }}:local
args: --file=${{ matrix.image }}/Dockerfile
- name: Clean Snyk SARIF file
continue-on-error: true
run: |
sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
- name: Upload result to GitHub Code Scanning
continue-on-error: true
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif
Expand Down

0 comments on commit d826785

Please sign in to comment.