chore: publish from staged

This commit is contained in:
github-actions[bot]
2026-05-28 05:50:33 +00:00
parent a1ebf8a4f2
commit 53230940c5
10 changed files with 933 additions and 49 deletions
+13 -3
View File
@@ -11,6 +11,10 @@ export const EXTERNAL_PLUGIN_INTAKE_LABELS = Object.freeze({
color: "0E8A16",
description: "Submission passed intake validation and is ready for maintainer review",
},
"requires-submitter-fixes": {
color: "D93F0B",
description: "Submission has quality-gate findings that submitter must fix before maintainer review",
},
approved: {
color: "1D76DB",
description: "Submission was approved by a maintainer",
@@ -25,6 +29,7 @@ const EXTERNAL_PLUGIN_INTAKE_SYNC_LABELS = Object.freeze([
"external-plugin",
"awaiting-review",
"ready-for-review",
"requires-submitter-fixes",
"rejected",
]);
@@ -138,9 +143,14 @@ export async function applyExternalPluginIntakeEvaluation({
issueNumber,
evaluation,
}) {
const desiredLabels = evaluation.valid
? new Set(["external-plugin", "ready-for-review"])
: new Set(["external-plugin", "rejected"]);
const state = evaluation.intakeState ?? (evaluation.valid ? "ready-for-review" : "rejected");
const desiredLabelsByState = {
"ready-for-review": new Set(["external-plugin", "ready-for-review"]),
"requires-submitter-fixes": new Set(["external-plugin", "requires-submitter-fixes"]),
"awaiting-review": new Set(["external-plugin", "awaiting-review"]),
rejected: new Set(["external-plugin", "rejected"]),
};
const desiredLabels = desiredLabelsByState[state] ?? desiredLabelsByState.rejected;
await syncExternalPluginIntakeLabels({
github,