ci: close PRs linked to issues lacking 'Approved Issue' label - #2264
Yashisinghal285 wants to merge 1 commit into
Conversation
…pi#2252) In close-prs-for-unapproved-issues.yml, check that the linked issue has the 'Approved Issue' label rather than checking for the presence of 'Awaiting Approval'. This ensures pre-existing issues that never received the 'Awaiting Approval' label cannot bypass the approval gate. Resolves asyncapi#2252
|
What reviewer looks at during PR reviewThe following are ideal points maintainers look for during review. Reviewing these points yourself beforehand can help streamline the review process and reduce time to merge.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: asyncapi/generator/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe pull request changes the workflow to close a pull request when any linked issue lacks the ChangesLinked issue approval gate
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to The approval gate now checks for Architecture SummaryArchitecture risk: 🔵 Low · up to The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency. Changed systems: None identified. Architecture concerns Review detailsBefore / after behavior
🚥 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 |
|



Description
.github/workflows/close-prs-for-unapproved-issues.ymlto check for the presence of theApproved Issuelabel on linked issues rather than checking forAwaiting Approval.Awaiting Approvallabel cannot bypass the maintainer approval gate.Approved Issuelabel.Related issue(s)
Resolves #2252
AI assistance
Generated-by: AntigravitySummary by CodeRabbit