Start running Merge Gatekeeper when each workflow finishes#962
Conversation
There was a problem hiding this comment.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ 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. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA new GitHub Actions workflow file is added to automate merge gatekeeper checks. The workflow triggers on check_suite completion for pull requests, uses minimal read permissions, and executes the merge-gatekeeper action with configuration for self-labeling and CodeRabbit exclusion. ChangesMerge Gatekeeper Workflow
🚥 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)
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 |
There was a problem hiding this comment.
Warning
CodeRabbit couldn't request changes on this pull request because it doesn't have sufficient GitHub permissions.
Please grant CodeRabbit Pull requests: Read and write permission and re-run the review.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/merge-gatekeeper.yml:
- Line 16: The job condition currently uses
github.event.check_suite.pull_requests which can be an empty array (truthy);
update the condition to explicitly require a non-empty PR list by checking that
github.event.check_suite.pull_requests exists and that its length is greater
than zero (i.e., replace the existing if expression with one that asserts the
array is present and has length > 0).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 34526eee-0efc-4751-9786-1f5fe0f6604d
📒 Files selected for processing (1)
.github/workflows/merge-gatekeeper.yml
1567397 to
9dc8338
Compare
Reduce the running time of Gatekeeper.
9dc8338 to
97cab8e
Compare
Reduce the running time of Gatekeeper.