From 20bc52ba9cd0d60ffbd9a6b1cf732bfc008b2646 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Fri, 1 Aug 2025 12:16:12 -0400 Subject: [PATCH] build: adjust auto labeler configuration Signed-off-by: Adam Setch --- .github/labeler.yml | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 23e71d8b5..a30bc7473 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,53 +1,51 @@ version: v1 labels: - - label: 'enhancement' + - label: 'bug' sync: true matcher: - title: '^feat(\(\w+\))?: .*' + title: '^fix(\(\w+\))?: .*' - - label: 'bug' + - label: 'build' sync: true matcher: - title: '^fix(\(\w+\))?: .*' + title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*' - - label: 'refactor' + - label: 'chore' sync: true matcher: - title: '^refactor(\(\w+\))?: .*' + title: '^chore(\((?!deps)\w+\))?: .*' + + - label: 'dependency' + sync: true + matcher: + branch: '^renovate/.*' + files: ['pnpm-lock.yaml'] - label: 'documentation' sync: true matcher: title: '^docs(\(\w+\))?: .*' - - label: 'test' + - label: 'enhancement' sync: true matcher: - title: '^test(\(\w+\))?: .*' + title: '^feat(\(\w+\))?: .*' - - label: 'build' + - label: 'refactor' sync: true matcher: - title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*' + title: '^refactor(\(\w+\))?: .*' - label: 'release' sync: true matcher: branch: '^release/.*' - - label: 'chore' - sync: true - matcher: - title: '^chore(\(\w+\))?: .*' - branch: '^(?!renovate/).*' - - - label: 'dependency' + - label: 'test' sync: true matcher: - title: '^deps(\(\w+\))?: .*' - branch: '^renovate/.*' - files: ['pnpm-lock.yaml'] + title: '^test(\(\w+\))?: .*' checks: - context: 'Semantic Pull Request'