From d6a20c6a9fbcf8c72b90375757514241a837bfa1 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Fri, 12 Dec 2025 08:15:08 -0600 Subject: [PATCH] chore: Add labeler rule for refactor branch naming (#3979) --- .github/labeler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index e8aaa24d8..c3c2fa6cf 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -24,6 +24,10 @@ repo: bugfix: - head-branch: [^fix, ^bug, ^Fix, ^FIX, ^Bug, ^BUG] +# Add `refactor` label to any PR where the head branch name contains `refactor` or `Refactor` as the prefix. +refactor: + - head-branch: [^refactor, ^Refactor] + # our fallback - bug except repo, feat, or automated pipelines # bug_fallthrough: # - all: