mirror of
https://github.com/github/awesome-copilot.git
synced 2026-10-15 16:21:51 +00:00
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:
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")) {
|
||||
|
||||
Reference in New Issue
Block a user