From d881913358f9e9dc559338693b54546ccd2f91c5 Mon Sep 17 00:00:00 2001 From: sabith Date: Wed, 11 Nov 2026 12:35:19 -0800 Subject: [PATCH] Release: do not override reserved GITHUB_ env vars workflow_dispatch runs failed with startup_failure (run 43095373081) because the Cut release step set GITHUB_SHA and GITHUB_REF_NAME in its env block; the GITHUB_ prefix is reserved. The runner defaults already carry exactly those values for the dispatched ref, so drop the overrides. The cut-release.sh script reads GITHUB_SHA / GITHUB_REPOSITORY from the runner defaults, which is what it required all along. --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbbb63c..b8962d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,10 +59,12 @@ jobs: ref: ${{ github.sha }} - name: Cut release + # GITHUB_SHA / GITHUB_REPOSITORY / GITHUB_REF_NAME come from the runner + # defaults (the dispatched ref); the GITHUB_ prefix is reserved and + # cannot be set here, and setting it made the run fail with + # startup_failure (run 43095373081). env: GH_TOKEN: ${{ github.token }} - GITHUB_SHA: ${{ github.sha }} - GITHUB_REF_NAME: main RELEASE_VERSION: ${{ inputs.version }} MAJOR_TAG: ${{ inputs.major-tag }} NOTES_LINE: ${{ inputs.notes }}