fix: use hyper-gonk bot for release PRs#7472
Conversation
|
|
Warning Rate limit exceeded@paulbalaji has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 48 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. 📥 CommitsReviewing files that changed from the base of the PR and between 90b74d3846aba0b3f503a90c326e217e3a7a2a13 and 7fb8a0d. 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe release workflows are getting a security upgrade, mate. Both the npm and Rust release workflows now generate a GitHub App token instead of relying on the default repository token for creating release PRs. The npm workflow also gets a proper title on the changesets action run. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
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 |
Use GitHub App token instead of GITHUB_TOKEN for creating release PRs. This fixes the issue where CI workflows wouldn't trigger on PRs created by the release workflows (GitHub's security restriction on GITHUB_TOKEN). The Hyper Gonk GitHub App has been configured with: - Contents: Read & Write - Pull requests: Read & Write Secrets required: - HYPER_GONK_APP_ID - HYPER_GONK_PRIVATE_KEY 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
90b74d3 to
7fb8a0d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7472 +/- ##
============================
============================
🚀 New features to boost your workflow:
|
The previous fix (PR #7472) used Hyper Gonk token for authentication but still used github-actions[bot] for git commit identity. This caused force pushes to the release branch to still show as github-actions bot. Changes: - rust-release.yml: Use app-slug output for git config - release.yml: Add setupGitUser: false to changesets action and configure git identity manually before the action runs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
Use GitHub App token (Hyper Gonk) instead of
GITHUB_TOKENfor creating release PRs. This fixes the issue where CI workflows wouldn't trigger on PRs created by the release workflows.Problem
GitHub's security model prevents workflows triggered by
GITHUB_TOKENfrom triggering other workflows. This means:Solution
Use a GitHub App token instead. The Hyper Gonk GitHub App has been configured with:
Changes
.github/workflows/release.yml: Use Hyper Gonk token for changesets action.github/workflows/rust-release.yml: Use Hyper Gonk token for PR creationSetup Required
The following secrets need to be added to the repository:
HYPER_GONK_APP_ID: The App IDHYPER_GONK_PRIVATE_KEY: The private keyTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.