fix(plugin-board): share pending intake eligibility

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1313d2be-6ae2-478e-952a-4b22a5e2d7cb
This commit is contained in:
Aaron Powell
2026-10-15 14:20:56 +11:00
co-authored by Copilot App
parent 6474ff2e8b
commit 706fda0cfa
@@ -27,7 +27,7 @@ export function reviewBlockedReason(labels = []) {
if (labels.includes("requires-submitter-fixes")) {
return "Submitter fixes required. Check the intake feedback on the issue; AI review and approval are unavailable until intake marks it ready-for-review.";
}
if (labels.includes("awaiting-review")) {
if (labels.some((label) => PENDING_INTAKE_LABELS.includes(label))) {
return "Automated intake is pending. AI review and approval are unavailable until intake marks it ready-for-review.";
}
if (!labels.includes("ready-for-review")) {