Open pin-comment repair PRs as the org PR bot
Merged
JE
3h ago+2+2+0123456789-2-2-0123456789
Moves the pin-comment sync's reusable workflow to basecamp/.github@7f89ca5 (.github#23). That version opens the repair PR as the org's 37s-pr-bot App, not with GITHUB_TOKEN, so the sync keeps working after the org turns off "Allow GitHub Actions to create and approve pull requests".
- The
secrets-inheritsuppression's reason now namesPR_BOT_PRIVATE_KEY, which the called workflow reads from this version on. The org shares that secret with this repo, and the App is installed here. - The job's permissions are unchanged.
pull-requests: writeis still needed, becauseGITHUB_TOKENarms auto-merge on the repair PR. - Checked locally: actionlint passes, and zizmor (with a token, so online audits ran) reports no findings.
Summary by cubic
Updates the pin-comment sync workflow to the version that opens repair PRs as the org's 37s-pr-bot App instead of GITHUB_TOKEN, so the sync keeps working after the org disables "Allow GitHub Actions to create and approve pull requests."
- Pins to basecamp/.github commit
7f89ca5(.github#23). - Updates the zizmor suppression comment to reflect that
PR_BOT_PRIVATE_KEYis now read; the org shares that secret with this repo and the App is installed here. pull-requests: writepermission is unchanged becauseGITHUB_TOKENstill arms auto-merge on the repair PR.