mirror of
https://github.com/gethomepage/homepage.git
synced 2026-05-18 11:27:33 +08:00
Enhance release-drafter autolabeler rules
This commit is contained in:
44
.github/release-drafter.yml
vendored
44
.github/release-drafter.yml
vendored
@@ -47,15 +47,34 @@ categories:
|
|||||||
- 'documentation'
|
- 'documentation'
|
||||||
|
|
||||||
autolabeler:
|
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'
|
- label: 'documentation'
|
||||||
files:
|
title:
|
||||||
- 'docs/**'
|
- '/^(documentation|docs)(\(.+\))?:/i'
|
||||||
- '*.md'
|
body:
|
||||||
- '.github/**/*.md'
|
- '/- \[[xX]\] Documentation only/'
|
||||||
|
|
||||||
|
- label: 'chore'
|
||||||
|
body:
|
||||||
|
- '/- \[[xX]\] Other \(please explain\)/'
|
||||||
|
|
||||||
- label: 'ci'
|
- label: 'ci'
|
||||||
files:
|
branch:
|
||||||
- '.github/workflows/**'
|
- '/^(ci|workflow|actions)\//'
|
||||||
|
title:
|
||||||
|
- '/^(ci|workflow|actions)(\(.+\))?:/i'
|
||||||
|
|
||||||
- label: 'dependencies'
|
- label: 'dependencies'
|
||||||
files:
|
files:
|
||||||
@@ -64,19 +83,6 @@ autolabeler:
|
|||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- 'uv.lock'
|
- 'uv.lock'
|
||||||
|
|
||||||
- label: 'feature'
|
|
||||||
files:
|
|
||||||
- 'src/components/**'
|
|
||||||
- 'src/widgets/**'
|
|
||||||
- 'src/pages/**'
|
|
||||||
- 'src/utils/**'
|
|
||||||
|
|
||||||
- label: 'chore'
|
|
||||||
files:
|
|
||||||
- 'Dockerfile*'
|
|
||||||
- 'docker-entrypoint.sh'
|
|
||||||
- 'k3d/**'
|
|
||||||
|
|
||||||
- label: 'translation'
|
- label: 'translation'
|
||||||
files:
|
files:
|
||||||
- 'public/locales/**'
|
- 'public/locales/**'
|
||||||
|
|||||||
Reference in New Issue
Block a user