diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8383960..4e66c9f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,7 +43,7 @@ jobs: cache: true - name: Initialize CodeQL - uses: github/codeql-action/init@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4 + uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9 with: languages: go # Go does not support build-mode: none; autobuild runs `go build`, @@ -53,7 +53,7 @@ jobs: queries: security-and-quality - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4 + uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9 with: category: "/language:go" diff --git a/.github/workflows/ghcr-image.yml b/.github/workflows/ghcr-image.yml index 343f24e..c3919b9 100644 --- a/.github/workflows/ghcr-image.yml +++ b/.github/workflows/ghcr-image.yml @@ -45,7 +45,7 @@ jobs: } >> "$GITHUB_OUTPUT" - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: diff --git a/.github/workflows/promote-release.yml b/.github/workflows/promote-release.yml index 71114e4..393a655 100644 --- a/.github/workflows/promote-release.yml +++ b/.github/workflows/promote-release.yml @@ -191,7 +191,7 @@ jobs: .isPrerelease == ($channel == "prerelease") ' <<<"$release_json" >/dev/null - - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 79effd6..500361d 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -159,14 +159,14 @@ jobs: fi sha256sum "${assets[@]}" > SHA256SUMS - name: Generate SBOM - uses: anchore/sbom-action@e22c389904149dbc22b58101806040fa8d37a610 # v0 + uses: anchore/sbom-action@3ad7283483fc7af8ff2b4ea19663c2d5ca935e26 # v0.24.2 with: path: . format: cyclonedx-json output-file: dist/bpfcompat.sbom.cdx.json - name: Attest candidate provenance if: startsWith(github.ref, 'refs/tags/v') - uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-path: | dist/bpfcompat-linux-amd64 @@ -174,14 +174,14 @@ jobs: dist/bpfcompat-validator-static-linux-amd64 - name: Attest production readiness evidence if: startsWith(github.ref, 'refs/tags/v') && steps.meta.outputs.channel == 'stable' - uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-path: | dist/production-readiness.json dist/production-readiness.md - name: Attest candidate SBOM if: startsWith(github.ref, 'refs/tags/v') - uses: actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d # v4.2.1 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-path: dist/bpfcompat-linux-amd64 sbom-path: dist/bpfcompat.sbom.cdx.json @@ -370,7 +370,7 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io @@ -407,7 +407,7 @@ jobs: DIGEST: ${{ steps.build.outputs.digest }} run: cosign sign --yes "${IMAGE}@${DIGEST}" - name: Attest candidate image provenance - uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-name: ${{ env.IMAGE }} subject-digest: ${{ steps.build.outputs.digest }} @@ -485,7 +485,7 @@ jobs: generated_at: $generated_at }' >candidate/evidence/release-candidate-evidence.json - name: Attest candidate promotion evidence - uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-path: candidate/evidence/release-candidate-evidence.json - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 diff --git a/.github/workflows/release-candidate-canary.yml b/.github/workflows/release-candidate-canary.yml index 69128d2..e257634 100644 --- a/.github/workflows/release-candidate-canary.yml +++ b/.github/workflows/release-candidate-canary.yml @@ -254,7 +254,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 with: diff --git a/.github/workflows/rollback-drill.yml b/.github/workflows/rollback-drill.yml index 153f499..a199046 100644 --- a/.github/workflows/rollback-drill.yml +++ b/.github/workflows/rollback-drill.yml @@ -88,7 +88,7 @@ jobs: [[ "$CANDIDATE_IDENTITY" == "${identity_prefix}"*"@refs/tags/v"* ]] test "$CONFIRMATION" = "rollback drill ${DRILL_ALIAS}" - - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 4ca6e9e..1c98c43 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -56,6 +56,6 @@ jobs: retention-days: 5 - name: Upload to code scanning - uses: github/codeql-action/upload-sarif@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4 + uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9 with: sarif_file: results.sarif