Skip to content

Commit

Permalink
add github to sparse-checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Oct 8, 2024
1 parent 5338aa5 commit bbc3553
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/trivy-scan-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ runs:
- name: Checkout trivy.yaml
uses: actions/checkout@v4
with:
sparse-checkout: trivy.yaml
sparse-checkout: |
trivy.yaml
.github*
sparse-checkout-cone-mode: false

- name: Run Trivy on ${{ inputs.image-tag }}
Expand Down

0 comments on commit bbc3553

Please sign in to comment.