Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request label workflow now runs the ChangesPull request label enforcement
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Label enforcement is limited to open pull requests as intended, with no merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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.
🟢 Approval recommended
The focused condition correctly matches the stated goal and upstream change.
Pull request overview
Restricts PR label enforcement to open pull requests, avoiding unnecessary workflow runs after closure.
Changes:
- Adds an open-state condition to the label enforcement job.
File summaries
| File | Description |
|---|---|
.github/workflows/enforce-pr-labels.yml |
Skips label enforcement for closed pull requests. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
c8a6296 to
7064ff9
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
7064ff9 to
561da4e
Compare
|
Size Change: 0 B Total Size: 7.61 MB ℹ️ View Unchanged
|
…ranch filter, so PRs opened against this branch still get fixed-issue assignment and first-time-contributor labeling.
561da4e to
ca9351d
Compare
…h-triggered tasks (`add-milestone`, `first-time-contributor-account-link`) both bail out immediately outside of `trunk`, so running them here on every push does nothing.
d01e646 to
9ae25dc
Compare
|
Closing: |
Part of #82782.
What?
This cherry-picks d410e57 ("Only run label enforcement workflow on open PRs.", WordPress/gutenberg#76274) into this branch's own copy of
enforce-pr-labels.ymlso the workflow no longer runs against closed PRs.Why?
Only running against open PRs avoids wasted/meaningless runs on PRs that are already closed.
Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
Summary by CodeRabbit