Skip to content

Conversation

@schrockn
Copy link
Member

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 requests

Copy link
Member Author

schrockn commented Nov 21, 2025

…en 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 requests
@schrockn schrockn force-pushed the fix-github-actions-pr-creation-25-11-21 branch from 06b80b3 to 02535b4 Compare November 22, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants