[gha] Bump earthly/actions-setup from 1.0.0 to 1.0.13 #1077
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Trivy scan | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| ref: | |
| description: "Branch or SHA to run scan (e.g. feature/x or a1b2c3)" | |
| required: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| trivy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | |
| with: | |
| persist-credentials: true | |
| - name: Run Trivy scan | |
| uses: ./.github/actions/security/trivy | |
| with: | |
| scan_type: "repo" | |
| scan_target: "." | |
| severity: "HIGH,CRITICAL" | |
| generate_sbom: "true" |