Commit e049d46
ci: use GitHub App token for release bump PR (guacsec#438)
## Summary
- Post-release version bump PRs created by `github-actions[bot]` using
`GITHUB_TOKEN` don't trigger CI checks (GitHub's anti-recursion
protection)
- Use `actions/create-github-app-token@v2` with the installed GitHub App
(`CI_APP_ID` / `CI_APP_PRIVATE_KEY` secrets) to generate a token
- Pass this token to `peter-evans/create-pull-request@v8` so the
resulting PR triggers the "Build and test Java 21" workflow
## Test plan
- [ ] Trigger a release via `workflow_dispatch` and verify the bump PR
triggers the Build check
- [ ] Verify the PR is created by the GitHub App identity, not
`github-actions[bot]`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
CI:
- Add a workflow step to generate a GitHub App token from CI_APP_ID and
CI_APP_PRIVATE_KEY secrets and use it for the release bump pull request.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 601178a commit e049d46
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
143 | 150 | | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
| |||
0 commit comments