Commit a39d505
committed
ci(release-please): allow PAT override via RELEASE_PLEASE_TOKEN
The default GITHUB_TOKEN cannot open pull requests when the
GrayCodeAI org policy keeps 'Allow GitHub Actions to create and
approve pull requests' disabled. release-please creates the release
branch fine but errors at PR-open.
Two ways to fix:
1. Org admin flips the toggle at
https://github.com/organizations/GrayCodeAI/settings/actions
(permanent fix; repo-level toggle is blocked by org policy).
2. Create a PAT with repo + workflow scopes, add it as repo
secret RELEASE_PLEASE_TOKEN. The workflow now picks it up
automatically. This bypasses the org restriction without
needing admin access.
Workflow silently falls back to GITHUB_TOKEN when the secret is
unset, so the change is a no-op until someone adds the PAT.1 parent 5a04ea7 commit a39d505
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
0 commit comments