Enhance release-drafter autolabeler rules

This commit is contained in:
shamoon
2026-05-08 16:19:33 -07:00
parent 1ac5012c94
commit d3256596d8

View File

@@ -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/**'