Skip to content

Commit

Permalink
use gh cache for trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantin07 committed Feb 12, 2024
1 parent 4272d03 commit 636196e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golang-terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ jobs:
output: trivy-results.sarif
cache-dir: .trivy

- name: Correct Trivy cache permissions
run: sudo chown -R $USER:$GROUP .trivy
# - name: Correct Trivy cache permissions
# run: sudo chown -R $USER:$GROUP .trivy

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
Expand Down

0 comments on commit 636196e

Please sign in to comment.