From d3256596d84ee1cd5ef987d8f1ce2eeba2ce7c41 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 8 May 2026 16:19:33 -0700 Subject: [PATCH] Enhance release-drafter autolabeler rules --- .github/release-drafter.yml | 44 +++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index eac6e295a..1e67b0b92 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -47,15 +47,34 @@ categories: - 'documentation' autolabeler: + - label: 'bug' + title: + - '/^fix(\(.+\))?:/i' + body: + - '/- \[[xX]\] Bug fix \(non-breaking change which fixes an issue\)/' + + - label: 'enhancement' + title: + - '/^(feature|enhancement)(\(.+\))?:/i' + body: + - '/- \[[xX]\] New service widget/' + - '/- \[[xX]\] New feature or enhancement \(non-breaking change which adds functionality\)/' + - label: 'documentation' - files: - - 'docs/**' - - '*.md' - - '.github/**/*.md' + title: + - '/^(documentation|docs)(\(.+\))?:/i' + body: + - '/- \[[xX]\] Documentation only/' + + - label: 'chore' + body: + - '/- \[[xX]\] Other \(please explain\)/' - label: 'ci' - files: - - '.github/workflows/**' + branch: + - '/^(ci|workflow|actions)\//' + title: + - '/^(ci|workflow|actions)(\(.+\))?:/i' - label: 'dependencies' files: @@ -64,19 +83,6 @@ autolabeler: - 'pyproject.toml' - 'uv.lock' - - label: 'feature' - files: - - 'src/components/**' - - 'src/widgets/**' - - 'src/pages/**' - - 'src/utils/**' - - - label: 'chore' - files: - - 'Dockerfile*' - - 'docker-entrypoint.sh' - - 'k3d/**' - - label: 'translation' files: - 'public/locales/**'