Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Jun 2, 2024
1 parent b8179c7 commit e74cd9b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Run Trivy static code analysis
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
# - name: Run Trivy static code analysis
# uses: aquasecurity/trivy-action@master
# with:
# scan-type: 'fs'
# format: 'sarif'
# output: 'trivy-results.sarif'
# exit-code: '1'
# ignore-unfixed: true
# severity: 'CRITICAL,HIGH'

- name: Upload Trivy static code analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: 'trivy-results.sarif'
category: 'fs'
# - name: Upload Trivy static code analysis results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# if: always()
# with:
# sarif_file: 'trivy-results.sarif'
# category: 'fs'

- name: Build an image from Dockerfile
run: |
Expand Down

0 comments on commit e74cd9b

Please sign in to comment.