diff --git a/.github/workflows/bump-trivy.yaml b/.github/workflows/bump-trivy.yaml index 33c59ec..7861fcf 100644 --- a/.github/workflows/bump-trivy.yaml +++ b/.github/workflows/bump-trivy.yaml @@ -16,7 +16,7 @@ jobs: permissions: contents: read # for actions/checkout steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -27,7 +27,7 @@ jobs: - name: Setup Bats and bats libs id: setup-bats - uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1 + uses: bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0 - name: Install Trivy run: make ensure-trivy TRIVY_INSTALL_DIR=/usr/local/bin diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 220acb8..96cfd4f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,12 +14,12 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - name: Run zizmor - uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0 + uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 with: advanced-security: false @@ -28,13 +28,13 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - name: Setup Bats and bats libs id: setup-bats - uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1 + uses: bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0 - name: Install Trivy run: make ensure-trivy TRIVY_INSTALL_DIR=/usr/local/bin diff --git a/action.yaml b/action.yaml index e7dbcaf..456f76f 100644 --- a/action.yaml +++ b/action.yaml @@ -126,7 +126,7 @@ runs: # "allowing select actions" feature can be used to whitelist the dependent action by a hash. # This is needed since some organizations have a policy to only allow pinned 3rd party actions to # be used. - uses: aquasecurity/setup-trivy@e6c2c5e321ed9123bda567646e2f96565e34abe1 # equivalent to `v0.2.4` + uses: aquasecurity/setup-trivy@3fb12ec12f41e471780db15c232d5dd185dcb514 # v0.2.6 with: version: ${{ inputs.version }} cache: ${{ inputs.cache }} @@ -139,7 +139,7 @@ runs: - name: Restore DB from cache if: ${{ inputs.cache == 'true' }} - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ inputs.cache-dir }} key: cache-trivy-${{ steps.date.outputs.date }}