From 1bbb4aca6287b96584f718c72d206c64ab51b1b3 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Fri, 12 Dec 2025 08:16:34 -0600 Subject: [PATCH] repo: Add 'refactor' to required PR labels Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> --- .github/workflows/pr_enforce_labels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_enforce_labels.yml b/.github/workflows/pr_enforce_labels.yml index ce382f21d..8669b3c43 100644 --- a/.github/workflows/pr_enforce_labels.yml +++ b/.github/workflows/pr_enforce_labels.yml @@ -24,9 +24,9 @@ jobs: pull_number: prNumber, }); const latestLabels = pr.labels.map(label => label.name); - const requiredLabels = ['bugfix', 'enhancement', 'automation', 'dependencies', 'repo', 'release']; + const requiredLabels = ['bugfix', 'enhancement', 'automation', 'dependencies', 'repo', 'release', 'refactor']; const hasRequiredLabel = latestLabels.some(label => requiredLabels.includes(label)); console.log('Latest labels:', latestLabels); if (!hasRequiredLabel) { core.setFailed(`PR must have at least one of the following labels before it can be merged: ${requiredLabels.join(', ')}.`); - } \ No newline at end of file + }