You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[org] ORG_PAT needs Pull requests read/write; document the token's full contract #15
The skills-sync pipeline (ADR-0026, core/.github/workflows/sync-skills.yml) can clone and push with ORG_PAT but PR creation fails in all six target repos:
pull request create failed: GraphQL: Resource not accessible by personal access token (createPullRequest)
Action: add Pull requests: Read and write to the ORG_PAT fine-grained token (Settings → Developer settings → Fine-grained tokens), covering all frostyard repos. Then dispatch sync-skills.yml (or wait for the Monday 05:23 cron) — the sync branches are already pushed everywhere, so the next run only opens the PRs.
Full inventory of ORG_PAT consumers (as of 2026-08-11)
Cross-repo repository_dispatch triggers (need Contents: write on the target repo — snosi/snow):
Contents: Read and write (dispatch events, pushes, releases)
Pull requests: Read and write (skills sync)
Metadata: Read (implied)
Follow-ups to resolve with this issue
Add the Pull requests permission and re-run sync-skills
Record the token's contract (name, permission set, consumers, rotation owner) in a core doc — same spirit as the canonical-secret rule in ADR-0020 — so the next "resource not accessible" failure is a lookup, not an investigation
Note the token's expiry date somewhere that alarms before it lapses (fine-grained PATs expire; every dispatch/release/sync in the org fails silently-ish when it does)
Update 2026-08-11: Pull requests: Read and write has been added and the token refreshed — ORG_PAT now expires 2027-08-11 (365-day fine-grained token).
Remaining from the checklist: record the token contract (consumers, permission set, rotation owner, this expiry date) in a core doc, and put the expiry somewhere that alarms before 2027-08-11 — e.g. a scheduled workflow that starts failing (or filing an issue) 30 days out, since every dispatch/release/skills-sync in the org degrades when it lapses.
Activity
bketelsen commentedon Aug 12, 2026
Update 2026-08-11: Pull requests: Read and write has been added and the token refreshed — ORG_PAT now expires 2027-08-11 (365-day fine-grained token).
Remaining from the checklist: record the token contract (consumers, permission set, rotation owner, this expiry date) in a core doc, and put the expiry somewhere that alarms before 2027-08-11 — e.g. a scheduled workflow that starts failing (or filing an issue) 30 days out, since every dispatch/release/skills-sync in the org degrades when it lapses.