Update auto-merge workflow to use GitHub app token#1377
Conversation
… approvals and merges
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe auto-merge GitHub Actions workflow is updated to authenticate using a GitHub App token instead of the standard GITHUB_TOKEN, with an added step to automatically approve pull requests from specified bot sources before merging. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Coverage Report
File CoverageNo changed files found. |
There was a problem hiding this comment.
Pull request overview
This PR updates the auto-merge GitHub Actions workflow to use a generated GitHub App token (instead of the default GITHUB_TOKEN) to approve and enable auto-merge for PRs created by specific bots.
Changes:
- Generate a GitHub App installation token via
actions/create-github-app-token. - Add an explicit “Approve PR” step before enabling auto-merge for eligible bot PRs.
- Switch
gh pr mergeauthentication fromsecrets.GITHUB_TOKENto the generated app token.
Rust Backend Coverage ReportCoverage Details |
Summary
Update the auto-merge workflow to utilize a generated GitHub app token for approving and merging pull requests from specific bots. This change enhances security and streamlines the approval process.
Related Issues
Type of Change
fix/branch)feat/branch)refactor/branch)docs/branch)chore/branch)Screenshots / Videos
Test Plan
Checklist
npm run lint && npm run format/cargo tauri-lint && cargo tauri-fmt)npm test/cargo tauri-test)Summary by CodeRabbit