mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-17 11:23:27 +00:00
chore: publish from main
This commit is contained in:
@@ -3,6 +3,10 @@ export const EXTERNAL_PLUGIN_INTAKE_LABELS = Object.freeze({
|
||||
color: "FEF2C0",
|
||||
description: "Public external plugin submission",
|
||||
},
|
||||
"external-plugin-canvas": {
|
||||
color: "1D76DB",
|
||||
description: "External plugin submission includes a canvas extension",
|
||||
},
|
||||
"awaiting-review": {
|
||||
color: "FBCA04",
|
||||
description: "Submission is waiting for automated intake validation",
|
||||
@@ -27,6 +31,7 @@ export const EXTERNAL_PLUGIN_INTAKE_LABELS = Object.freeze({
|
||||
|
||||
const EXTERNAL_PLUGIN_INTAKE_SYNC_LABELS = Object.freeze([
|
||||
"external-plugin",
|
||||
"external-plugin-canvas",
|
||||
"awaiting-review",
|
||||
"ready-for-review",
|
||||
"requires-submitter-fixes",
|
||||
@@ -129,6 +134,9 @@ export async function applyExternalPluginIntakeEvaluation({
|
||||
rejected: new Set(["external-plugin", "rejected"]),
|
||||
};
|
||||
const desiredLabels = desiredLabelsByState[state] ?? desiredLabelsByState.rejected;
|
||||
if (evaluation.isCanvasPlugin) {
|
||||
desiredLabels.add("external-plugin-canvas");
|
||||
}
|
||||
|
||||
await syncExternalPluginIntakeLabels({
|
||||
github,
|
||||
|
||||
Reference in New Issue
Block a user