From fe2fe549d4a9da2d5bbe3c919ebe92aa15ee745f Mon Sep 17 00:00:00 2001 From: garrytan Date: Thu, 8 Oct 2026 06:14:56 +0000 Subject: [PATCH] ci: refresh GitHub Actions SHA pins (setup-buildx 4.4.1, build-push 7.4.0, attest 4.2.2, setup-node 7.0.0) Rewrite of dependabot #2988. Every bumped `uses:` stays pinned to the full commit SHA (verified against the upstream tags) and now carries its exact version comment, including the lines that had none. setup-node 6.5.0 -> 7.0.0 is a major bump; its notes list an ESM migration, cache outputs and removal of a dummy NODE_AUTH_TOKEN export, none of which affect our node-version-only use. actionlint 1.7.11 (CI image) and 1.7.12 are clean. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- .github/workflows/cso-runtime-images.yml | 12 ++++++------ .github/workflows/cso-runtime-promote.yml | 2 +- .github/workflows/cso-scanner-images.yml | 8 ++++---- .github/workflows/evals-marathon.yml | 4 ++-- .github/workflows/evals-periodic.yml | 4 ++-- .github/workflows/evals.yml | 4 ++-- .github/workflows/native-qualification.yml | 6 +++--- .github/workflows/windows-free-tests.yml | 4 ++-- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/cso-runtime-images.yml b/.github/workflows/cso-runtime-images.yml index 2e83097e8..601d0c8c4 100644 --- a/.github/workflows/cso-runtime-images.yml +++ b/.github/workflows/cso-runtime-images.yml @@ -70,7 +70,7 @@ jobs: - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 with: bun-version: 1.4.2 - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e + - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Require native Docker and verify reviewed source manifests env: CSO_ARCH: ${{ matrix.arch }} @@ -98,7 +98,7 @@ jobs: --no-compile-autoload-package-json \ lib/cso/preparation-container.ts --outfile lib/cso/images/gstack-cso-preparation - name: Build the reviewed runtime without publishing - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: lib/cso/images file: lib/cso/images/${{ matrix.stack }}.Dockerfile @@ -155,7 +155,7 @@ jobs: *) echo 'Native architecture mismatch; emulation cannot qualify a runtime.' >&2; exit 1 ;; esac docker --host unix:///var/run/docker.sock info - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 with: registry: ghcr.io @@ -192,7 +192,7 @@ jobs: printf 'tag=%s:%s-%s\n' "$image" "$GITHUB_SHA" "$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT" - name: Build native staging image with SBOM and provenance id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: lib/cso/images file: lib/cso/images/${{ matrix.stack }}.Dockerfile @@ -213,13 +213,13 @@ jobs: jq -c -f scripts/cso-sbom-packages.jq sbom.full.spdx.json > sbom.spdx.json jq -e -f scripts/cso-sbom-packages-check.jq sbom.spdx.json >/dev/null - name: Sign build provenance - uses: actions/attest@f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6 # v4.2.0 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-name: ${{ steps.image.outputs.name }} subject-digest: ${{ steps.build.outputs.digest }} push-to-registry: true - name: Sign the image SBOM - uses: actions/attest@f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6 # v4.2.0 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-name: ${{ steps.image.outputs.name }} subject-digest: ${{ steps.build.outputs.digest }} diff --git a/.github/workflows/cso-runtime-promote.yml b/.github/workflows/cso-runtime-promote.yml index 63972ccdd..e3575309f 100644 --- a/.github/workflows/cso-runtime-promote.yml +++ b/.github/workflows/cso-runtime-promote.yml @@ -102,7 +102,7 @@ jobs: --output "public-image-evidence/$runtime_id.json" --remove-after done - name: Attest the exact review candidate - uses: actions/attest@f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-path: runtime-catalog.candidate.json - name: Verify and record the exact candidate attestation diff --git a/.github/workflows/cso-scanner-images.yml b/.github/workflows/cso-scanner-images.yml index 90804b9e2..655b00f2a 100644 --- a/.github/workflows/cso-scanner-images.yml +++ b/.github/workflows/cso-scanner-images.yml @@ -75,7 +75,7 @@ jobs: *) echo 'Native architecture mismatch; emulation cannot qualify a scanner.' >&2; exit 1 ;; esac docker --host unix:///var/run/docker.sock info - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 with: registry: ghcr.io @@ -128,7 +128,7 @@ jobs: printf 'tag=%s:%s-%s\n' "$name" "$GITHUB_SHA" "$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT" - name: Build native scanner wrapper with SBOM and provenance id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: lib/cso file: lib/cso/scanner-images/scanner.Dockerfile @@ -149,13 +149,13 @@ jobs: jq -c -f scripts/cso-sbom-packages.jq sbom.full.spdx.json > sbom.spdx.json jq -e -f scripts/cso-sbom-packages-check.jq sbom.spdx.json >/dev/null - name: Sign build provenance - uses: actions/attest@f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6 # v4.2.0 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-name: ${{ steps.image.outputs.name }} subject-digest: ${{ steps.build.outputs.digest }} push-to-registry: true - name: Sign the image SBOM - uses: actions/attest@f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6 # v4.2.0 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-name: ${{ steps.image.outputs.name }} subject-digest: ${{ steps.build.outputs.digest }} diff --git a/.github/workflows/evals-marathon.yml b/.github/workflows/evals-marathon.yml index 565c32d77..81cc72bc8 100644 --- a/.github/workflows/evals-marathon.yml +++ b/.github/workflows/evals-marathon.yml @@ -63,10 +63,10 @@ jobs: # Registry cache export needs a docker-container builder — the default # `docker` driver hard-errors on cache-to. - if: steps.check.outputs.exists == 'false' - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - if: steps.check.outputs.exists == 'false' - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: .github/docker file: .github/docker/Dockerfile.ci diff --git a/.github/workflows/evals-periodic.yml b/.github/workflows/evals-periodic.yml index e4bc8fe86..eaa185d18 100644 --- a/.github/workflows/evals-periodic.yml +++ b/.github/workflows/evals-periodic.yml @@ -99,10 +99,10 @@ jobs: # Registry cache export needs a docker-container builder — the default # `docker` driver hard-errors on cache-to. - if: steps.check.outputs.exists == 'false' - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - if: steps.check.outputs.exists == 'false' - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: .github/docker file: .github/docker/Dockerfile.ci diff --git a/.github/workflows/evals.yml b/.github/workflows/evals.yml index 9263e39ab..484cda7f5 100644 --- a/.github/workflows/evals.yml +++ b/.github/workflows/evals.yml @@ -95,10 +95,10 @@ jobs: # Registry cache export needs a docker-container builder — the default # `docker` driver hard-errors on cache-to (first live run of the trio). - if: steps.check.outputs.exists == 'false' - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - if: steps.check.outputs.exists == 'false' - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: .github/docker file: .github/docker/Dockerfile.ci diff --git a/.github/workflows/native-qualification.yml b/.github/workflows/native-qualification.yml index 23c63ef36..176e881e5 100644 --- a/.github/workflows/native-qualification.yml +++ b/.github/workflows/native-qualification.yml @@ -42,7 +42,7 @@ jobs: - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 with: bun-version: 1.4.2 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24.18.0 - name: Install pinned dependencies @@ -71,7 +71,7 @@ jobs: - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 with: bun-version: 1.4.2 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24.18.0 - name: Configure git identity (required by tests that init temp repos) @@ -118,7 +118,7 @@ jobs: - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 with: bun-version: 1.4.2 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 if: inputs.mode == 'dia-launch-comparison' with: node-version: 24.18.0 diff --git a/.github/workflows/windows-free-tests.yml b/.github/workflows/windows-free-tests.yml index 0b8adec1d..8420a7dd3 100644 --- a/.github/workflows/windows-free-tests.yml +++ b/.github/workflows/windows-free-tests.yml @@ -84,7 +84,7 @@ jobs: with: bun-version: 1.4.2 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24.18.0 @@ -214,7 +214,7 @@ jobs: - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 with: bun-version: 1.4.2 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24.18.0 - name: Prepare the same inputs as a Windows shard