Skip to content

Commit

Permalink
scan artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Feb 8, 2024
1 parent cc2f1f1 commit 3f0538d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,15 @@ jobs:
output: 'trivy-results.sarif'
severity: 'CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: 'trivy-results.sarif'

- name: Upload Trivy scan results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
sarif_file: 'trivy-results.sarif'
name: trivy_results
path: 'trivy-results.sarif'
if-no-files-found: 'error'

0 comments on commit 3f0538d

Please sign in to comment.