Skip to content

Commit 171151e

Browse files
ci: fix release-drafter config (known-good schema) (#15)
1 parent b919ca8 commit 171151e

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

.github/release-drafter.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
1-
name-template: 'v$NEXT_PATCH_VERSION'
2-
tag-template: 'v$NEXT_PATCH_VERSION'
3-
change-template: '- $TITLE (#$NUMBER)'
4-
no-changes-template: 'No user-facing changes.'
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
53

64
categories:
75
- title: '🚀 Features'
86
labels: ['feat','feature','enhancement']
97
- title: '🐛 Fixes'
10-
labels: ['fix','bug','bugfix']
11-
- title: '🧰 Chores'
12-
labels: ['chore','build','deps']
13-
- title: '📚 Docs'
8+
labels: ['fix','bug']
9+
- title: '🧰 Maintenance'
10+
labels: ['chore','build','ci','refactor']
11+
- title: '📝 Docs'
1412
labels: ['docs']
15-
- title: '🧪 CI'
16-
labels: ['ci']
13+
- title: '✅ Tests'
14+
labels: ['test']
15+
16+
change-template: '- $TITLE (#$NUMBER) by @$AUTHOR'
17+
no-changes-template: 'No changes.'
1718

1819
version-resolver:
1920
major:
20-
labels: ['major']
21+
labels: ['major','breaking','semver:major']
2122
minor:
22-
labels: ['minor','feat']
23+
labels: ['minor','feat','enhancement','semver:minor']
2324
patch:
24-
labels: ['patch','fix','chore','docs','ci','build','deps']
25+
labels: ['patch','fix','chore','ci','docs','refactor','test','semver:patch']
2526
default: patch
27+
28+
template: |
29+
## What’s Changed
30+
$CHANGES

0 commit comments

Comments
 (0)