From fc6b3650c0b66ba7651a2ac79e6c5ad091a03651 Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Tue, 9 Jun 2026 12:53:53 +0000 Subject: [PATCH] fix(ci): repin attest-build-provenance to the real v2.4.0 SHA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The workflow pinned actions/attest-build-provenance@bd77c077… commented `# v2.4.0`, but v2.4.0 is e8998f94… (verified via the GitHub API); bd77c077… is an untagged mid-stream commit, so the SLSA-attestation step ran unvetted action code and the comment misrepresented what runs. Repin to the real v2.4.0 commit and drop the `# PLACEHOLDER-PIN` markers on both this line and the setup-python pin (a26af69b… is already the correct v5.6.0 — only its comment was stale). Update the header NOTE accordingly. --- .github/workflows/build-tree-sitter-prebuilds.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-tree-sitter-prebuilds.yml b/.github/workflows/build-tree-sitter-prebuilds.yml index c8f05c647..29eb4efd6 100644 --- a/.github/workflows/build-tree-sitter-prebuilds.yml +++ b/.github/workflows/build-tree-sitter-prebuilds.yml @@ -37,8 +37,10 @@ name: Build tree-sitter prebuilds # # Concurrency convention: see CONTRIBUTING.md -> "GitHub Actions — Concurrency Convention". # -# NOTE: SHAs marked `# PLACEHOLDER-PIN` are not yet pinned in this repo and MUST -# be pinned (and allowlisted in .github/zizmor.yml / Scorecard) before merge. +# NOTE: every action below is pinned to a release commit SHA (with the matching +# `# vX.Y.Z` tag comment verified against the GitHub API). If a future bump adds +# a new action, pin its real release SHA and allowlist it in .github/zizmor.yml / +# Scorecard before merge. on: workflow_dispatch: @@ -260,7 +262,7 @@ jobs: - name: Ensure Python (arm64 Windows only) if: matrix.platform_arch == 'win32-arm64' - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 # PLACEHOLDER-PIN — verify before merge + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: '3.12' @@ -430,7 +432,7 @@ jobs: NODE - name: Attest build provenance (SLSA) - uses: actions/attest-build-provenance@bd77c077858b8d561b7a36cbe48ef4cc642ca39d # v2.4.0 # PLACEHOLDER-PIN — verify before merge + uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0 with: subject-path: 'gitnexus/vendor/tree-sitter-*/prebuilds/**/*.node'