fix: use Hyper Gonk identity for git commits in release workflows#7482
Conversation
|
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>
96b30a3 to
6e37985
Compare
📝 WalkthroughWalkthroughTwo workflow files receive Git configuration updates to dynamically set commit author and email using a GitHub App's slug and ID instead of static bot identifiers. The Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (50)
🔇 Additional comments (2)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7482 +/- ##
============================
============================
🚀 New features to boost your workflow:
|
Summary
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 in the UI.Changes
rust-release.ymlUses the
app-slugoutput fromcreate-github-app-tokento properly configure git user name and email as the Hyper Gonk bot.release.yml(npm releases)setupGitUser: falseto the changesets action (which defaults to usinggithub-actions[bot])The git identity format:
user.name:\${{ steps.generate-token.outputs.app-slug }}[bot]user.email:\${{ secrets.HYPER_GONK_APP_ID }}+\${{ steps.generate-token.outputs.app-slug }}[bot]@users.noreply.github.comRelated
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.