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
Auth: bot needs a classic PAT for PR approvals (fine-grained can't addPullRequestReview) #532
Parent: #495 · Unplanned fix surfaced by #497 ring-0 validation. · Work type: Security
The pr-review review job died at verify-auth-scopes because DON_PETRY_BOT_GH_PAT held a fine-grained PAT, which cannot gh pr review --approve (addPullRequestReview). This was the core cause of the agent never approving at green CI → the 12h stuck-PR/REVIEW_REQUIRED saga.
Fix (shipped): added org secret DON_PETRY_BOT_GH_PAT_CLASSIC (classic; repo/workflow/read:org); approval-path workflows now use ${{ secrets.DON_PETRY_BOT_GH_PAT_CLASSIC || secrets.DON_PETRY_BOT_GH_PAT }} (pr-review.yml, repair-pr-approvals.yml). Documented in machine-user-setup.md.
Activity