Update the pr builder to avoid redundant runs#4456
Conversation
WalkthroughA concurrency block is added to the PR builder GitHub Actions workflow to automatically cancel previous in-progress runs when a new workflow run is triggered for the same pull request, using the workflow name and PR reference as the grouping key. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Pull request overview
This PR adds concurrency control to the PR builder workflow to prevent redundant workflow runs. When multiple commits are pushed to the same pull request in quick succession, only the latest workflow run will continue while earlier runs are automatically cancelled.
Changes:
- Added concurrency configuration to cancel in-progress workflow runs for the same PR
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Purpose
Summary by CodeRabbit
Note: This release contains only internal infrastructure improvements with no end-user impact.
✏️ Tip: You can customize this high-level summary in your review settings.