Compare commits

...

1 Commits

Author SHA1 Message Date
Sam Heinz caabe7aab4 fix keep-open for close invalid pr 2026-07-28 18:03:56 +10:00
+2 -2
View File
@@ -45,7 +45,7 @@ jobs:
} }
const labels = pr.labels.map((label) => label.name); const labels = pr.labels.map((label) => label.name);
const skipLabels = ["automated pr", "keep open"]; const skipLabels = ["automated pr", "keep-open"];
if (skipLabels.some((label) => labels.includes(label))) { if (skipLabels.some((label) => labels.includes(label))) {
core.info(`PR #${prNumber} has a skip label (${labels.join(", ")}) — skipping template validation.`); core.info(`PR #${prNumber} has a skip label (${labels.join(", ")}) — skipping template validation.`);
@@ -136,7 +136,7 @@ jobs:
``, ``,
`> Use the template sections, fill in the description, check all prerequisite boxes, and select at least one type of change.`, `> Use the template sections, fill in the description, check all prerequisite boxes, and select at least one type of change.`,
``, ``,
`Maintainers can add the \`keep open\` label to exempt a PR from this check.`, `Maintainers can add the \`keep-open\` label to exempt a PR from this check.`,
``, ``,
`Thank you for contributing! 🙏`, `Thank you for contributing! 🙏`,
].join("\n"); ].join("\n");