From 51e99d4c0f1b4e2ac09fad7aac025b8897ec64f7 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 23 Oct 2026 21:22:19 +0100 Subject: [PATCH] docs: describe the pyautolabs-bot App token instead of the retired PAT_PYAUTOLABS The PAT_PYAUTOLABS org secret was deleted 2026-10-23 and no workflow reads it (token consolidation phase 3). Retire the prose that still described it as current. GitHub token consolidation phase 4 (PyAutoMind#510). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011bYAcXWovLT3xMivBiMb32 --- docs/nightly_release_design.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/nightly_release_design.md b/docs/nightly_release_design.md index 5172387b..7d5a2bfa 100644 --- a/docs/nightly_release_design.md +++ b/docs/nightly_release_design.md @@ -78,8 +78,12 @@ Phases A→C and is invoked by the workflow — logic stays in the conductor Workflow: `PyAutoBrain/.github/workflows/nightly-release.yml`, `schedule: 0 2 * * *` (every night — quiet nights exit at step 2 in seconds, so weekend scheduling costs nothing and weekend merges release on time) + -`workflow_dispatch` for manual runs. Secrets: `PAT_PYAUTOLABS` (dispatch/poll -Build + Heart workflows, read commit history), `PYAUTO_RELEASE_WEBHOOK_URL`. +`workflow_dispatch` for manual runs. Credentials: a per-job `pyautolabs-bot` +GitHub App token minted from `vars.APP_CLIENT_ID` / `secrets.APP_PRIVATE_KEY` +(owner-wide: actions write to dispatch/poll Build + Heart workflows, contents +read for commits/tags, issues read for `release-blocker`, variables write for the +`NIGHTLY_LAST_WINDOW_END` anchor; a failed mint fails the job), and +`PYAUTO_RELEASE_WEBHOOK_URL`. | Step | Action | On stop | |------|--------|---------|