From e2c86d4e2e6a332441ff720f83f9f7664e5f3dda Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 17:20:23 +0000 Subject: [PATCH] ci(release): sign in the tag-only release environment The release job runs in the `release` environment, so the signing key can move from a repo secret into an environment only v*/cli-v* tags may use. Until it moves, the repo secret still reaches the job. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Eufw48dfQicJDJDW3hCXRo --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fba4ffa..e281751 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,6 +110,8 @@ jobs: # A dispatch from a branch must never publish: the release is named after the ref. if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest + # The signing key lives in this environment, which only release tags may use. + environment: release permissions: contents: write id-token: write # build provenance attestation (Sigstore)