From 080bc1c156e760b94446bac352436dde64b1f551 Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 3 Nov 2026 03:01:33 +0000 Subject: [PATCH] fix(release-gate): blobless checkout and free-only workflow classification Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- .github/workflows/release-gate.yml | 1 + scripts/test-pr-profile.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release-gate.yml b/.github/workflows/release-gate.yml index 583444a6d..9ab3cd24a 100644 --- a/.github/workflows/release-gate.yml +++ b/.github/workflows/release-gate.yml @@ -55,6 +55,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 + filter: blob:none # Read with git and jq only: without a release_gate block nothing below runs. - name: Read the release gate policy (main) diff --git a/scripts/test-pr-profile.ts b/scripts/test-pr-profile.ts index dd0ca92bc..401bda3a3 100644 --- a/scripts/test-pr-profile.ts +++ b/scripts/test-pr-profile.ts @@ -288,6 +288,7 @@ export const FREE_ONLY_PR_FILES = [ '.github/workflows/test-health.yml', '.github/workflows/eval-sweep.yml', // The weekly off-ship sweep on main; no PR-gate case reads it, and it never gates a PR. '.github/workflows/evals-main-backstop.yml', // The merge-train backstop on main: it dispatches evals.yml after a push to main; no PR-gate case reads it, and it never gates a PR. + '.github/workflows/release-gate.yml', // The 8-hour release gate on main: it dispatches evals.yml on main's head; no PR-gate case reads it, and it never gates a PR. '.github/workflows/weekly-release.yml', // The Monday release cut (tag, stable, GitHub Release): reads check runs on main; no paid case reads it, and it never gates a PR. 'scripts/release-cut.ts', // The release cut's logic, run only by weekly-release.yml; covered by the free test/release-cut.test.ts. '.github/actionlint.yaml', // Runner labels for actionlint only.