Route intake failures to submitter fixes (#1970)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell
2026-06-10 22:17:32 -07:00
committed by GitHub
parent 517be706aa
commit c4a0a3ef5a
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ export const EXTERNAL_PLUGIN_INTAKE_LABELS = Object.freeze({
},
rejected: {
color: "B60205",
description: "Submission was rejected or failed intake validation",
description: "Submission was rejected by a maintainer",
},
});
@@ -143,7 +143,7 @@ export async function applyExternalPluginIntakeEvaluation({
issueNumber,
evaluation,
}) {
const state = evaluation.intakeState ?? (evaluation.valid ? "ready-for-review" : "rejected");
const state = evaluation.intakeState ?? (evaluation.valid ? "ready-for-review" : "requires-submitter-fixes");
const desiredLabelsByState = {
"ready-for-review": new Set(["external-plugin", "ready-for-review"]),
"requires-submitter-fixes": new Set(["external-plugin", "requires-submitter-fixes"]),