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 configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
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. |
Part of #82784.
What?
enforce-pr-labels.yml'stype-related-labelsjob now skips execution once a pull request is no longer open, by addingif: ${{ github.event.pull_request.state == 'open' }}to the job.Why?
The job previously ran on any PR matching its trigger types (
labeled,unlabeled,ready_for_review,review_requested) regardless of whether the PR was still open, including closed or merged PRs where the check no longer serves any purpose.How?
Ported the applicable piece of trunk's
d410e57a781b4bac0acb481f3916d2cf80b54a02("Only run label enforcement workflow on open PRs.", #76274). Trunk's two other related commits (switching topull_request_targetand updating thetypes:list) were checked and found already present verbatim in this branch's copy of the file, so only theif:condition itself was genuinely missing here.The existing job-level
permissions: pull-requests: writeblock was left completely untouched — this change is a single added line.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.