Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zLukas authored Feb 7, 2025
1 parent 99f52bf commit 177956d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ inputs.branch }}
- name: Checkout code
if: github.event_name == 'pull_request'
uses: actions/checkout@v2
with:
ref: ${{github.ref_name}}

- name: Run Trivy vulnerability scanner with sarif output
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.28.0
Expand Down

0 comments on commit 177956d

Please sign in to comment.