ci: pass GitHub App token to checkout for CI triggering - #478
Conversation
Move the GitHub App token generation before checkout and pass it to actions/checkout. This configures git to use the App's identity for all operations, allowing pushes to trigger CI workflows. Removes commitMode: github-api which doesn't support executable files.
|
Warning Rate limit exceeded@TabishB has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 39 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review CompleteYour review story is ready! Comment !reviewfast on this PR to re-generate the story. |
Move the GitHub App token generation before checkout and pass it to actions/checkout. This configures git to use the App's identity for all operations, allowing pushes to trigger CI workflows. Removes commitMode: github-api which doesn't support executable files.
Move the GitHub App token generation before checkout and pass it to actions/checkout. This configures git to use the App's identity for all operations, allowing pushes to trigger CI workflows. Removes commitMode: github-api which doesn't support executable files.
Summary
Fixes CI not triggering on the version PR by passing the GitHub App token to
actions/checkout.What Changed
actions/checkout- configures git to use the App's identitycommitMode: github-api- doesn't support executable files likebin/openspec.jsWhy This Works
When you pass a token to
actions/checkout, it configures git credentials to use that token. All subsequent git operations (commits, pushes) use the App's identity instead ofgithub-actions[bot].Since the push comes from the GitHub App (not
github-actions[bot]), CI workflows are allowed to trigger.Previous Attempts
commitMode: github-api🤖 Generated with Claude Code