Skip to content

Commit

Permalink
Always submit sarif file
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 20, 2024
1 parent ca0cb0f commit d30518f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/trivy-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
format: 'table'
#output: 'trivy-results.sarif'
format: 'sarif'
output: 'trivy-results.sarif'
severity: ${{ env.SEVERITY }}

# - 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 to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: 'trivy-results.sarif'

0 comments on commit d30518f

Please sign in to comment.