Skip to content

Commit

Permalink
Unpin GitHub Action trivy-action
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsihk authored Mar 7, 2024
1 parent ebe82ba commit caea9d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.17.0
uses: aquasecurity/trivy-action@master
with:
image-ref: ${{ env.IMAGE }}
format: 'sarif'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
provenance: false

- name: Run Trivy vulnerability scanner for PR
uses: aquasecurity/trivy-action@0.17.0
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ env.IMAGE_NAME }}:${{ github.sha }}'
format: 'table'
Expand Down

0 comments on commit caea9d8

Please sign in to comment.