From e0f88ca2a121bfcd45ed8e86472582f9b28dd362 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 23 Oct 2026 15:40:51 +0100 Subject: [PATCH 1/2] fix(nightly): request the App's actions_variables permission under its real name The installation grants `actions_variables: write`; `permission-variables` is not a permission GitHub knows, so the mint returned 422 "permissions requested are not granted" on the first dry run after #532 (run 39971454356). Co-Authored-By: Claude Fable 5.1 --- .github/workflows/nightly-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index b3646fa6..f274155d 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -106,7 +106,7 @@ jobs: permission-actions: write permission-contents: read permission-issues: read - permission-variables: write + permission-actions-variables: write - name: Run the nightly driver id: driver From 25dc9e7b4a1ea24b6103dc94d111872927ca41b7 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 23 Oct 2026 15:41:35 +0100 Subject: [PATCH 2/2] docs(nightly): name the installation permission in the mint comment Co-Authored-By: Claude Fable 5.1 --- .github/workflows/nightly-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index f274155d..932c550d 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -92,9 +92,10 @@ jobs: # tags across the release-relevant repos (contents read) and their open # `release-blocker` issues (issues read), and reads + writes this repo's # NIGHTLY_LAST_WINDOW_END anchor variable (variables write — the App's - # "Variables" permission; `permission-variables` is not in the action's - # generated input list, so the runner warns "Unexpected input", but the - # action forwards every `permission-*` input). That set spans most of + # "Variables" permission, named `actions_variables` on the installation; + # `permission-actions-variables` is not in the action's generated input + # list, so the runner warns "Unexpected input", but the action forwards + # every `permission-*` input). That set spans most of # the org, so the token is owner-wide (no `repositories:`). No # fallback: a failed mint fails the job before any gate is judged. id: app_token