Commit 02535b4
committed
Fix GitHub Actions PR creation permission errors by standardizing token usage and adding documentation.
## Summary
Fixed PR creation failures in GitHub Actions workflows by standardizing token usage to `github.token` and adding clear documentation headers explaining the required repository permission setting.
## Files Changed
### Modified (2 files)
- `.github/workflows/dispatch-erk-queue.yml` - Added documentation header with required repository setting
- `.github/workflows/implement-plan.yml` - Added documentation header and standardized token reference
## Key Changes
- Standardized token usage in `implement-plan.yml` checkout action from `${{ secrets.GITHUB_TOKEN }}` to `${{ github.token }}`
- Added identical documentation headers to both workflow files explaining the required "Allow GitHub Actions to create and approve pull requests" repository setting
- Provided clear error message context in documentation for troubleshooting PR creation failures
## Critical Notes
- GitHub token permission setting must be enabled in repository settings under Actions > General > Workflow permissions for workflows to successfully create pull requests1 parent 5d2704e commit 02535b4
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
25 | | - | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments