From 05155f807cc3a1f2d5eb4621dd486ff009ed50ad Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Tue, 9 Jul 2024 07:08:12 -0700 Subject: [PATCH] build: update regex to support scope --- .github/labeler.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 71487c068..b90000d11 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -3,31 +3,31 @@ version: v1 labels: - label: 'enhancement' matcher: - title: '^feat: .*' + title: '^feat(\(\w+\))?: .*' - label: 'bug' matcher: - title: '^fix: .*' + title: '^fix(\(\w+\))?: .*' - label: 'refactor' matcher: - title: '^refactor: .*' + title: '^refactor(\(\w+\))?: .*' - label: 'documentation' matcher: - title: '^docs: .*' + title: '^docs(\(\w+\))?: .*' - label: 'test' matcher: - title: '^test: .*' + title: '^test(\(\w+\))?: .*' - label: 'build' matcher: - title: '^(ci|build): .*' + title: '^(ci|build)(\(\w+\))?: .*' - label: 'dependency' matcher: - title: '^(deps): .*' + title: '^(deps)(\(\w+\))?: .*' checks: - context: 'Semantic Pull Request'