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 177956d commit 3b502e5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ jobs:
ref: main

- name: Checkout code
if: github.event_name == 'workflow_dispatch'
if: github.event_name != 'schedule'
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 3b502e5

Please sign in to comment.