Skip to content

Commit dca8e5a

Browse files
committed
fix: backport release drafter to default branch
1 parent 75600c5 commit dca8e5a

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

.github/release-drafter.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Uses Conventional Commits to decide semver + group sections
2+
name-template: 'v$RESOLVED_VERSION'
3+
tag-template: 'v$RESOLVED_VERSION'
4+
5+
template: |
6+
## What's Changed
7+
$CHANGES
8+
9+
version-resolver:
10+
major:
11+
commits:
12+
- subject: '^.*!:'
13+
minor:
14+
commits:
15+
- subject: '^feat'
16+
patch:
17+
commits:
18+
- subject: '^fix'
19+
- subject: '^refactor'
20+
- subject: '^ref'
21+
- subject: '^perf'
22+
- subject: '^docs'
23+
- subject: '^chore'
24+
default: patch
25+
26+
# What categories to include in the release notes.
27+
categories:
28+
- title: '💥 Breaking Changes'
29+
commits:
30+
- subject: '^.*!:'
31+
- title: '🚀 Features'
32+
commits:
33+
- subject: '^feat'
34+
- title: '🐛 Bug Fixes'
35+
commits:
36+
- subject: '^fix'
37+
- title: '📝 Documentation'
38+
commits:
39+
- subject: '^docs'
40+
- title: '🔄 Refactors'
41+
commits:
42+
- subject: '^refactor'
43+
- subject: '^ref'
44+
- title: '⚡️ Performance Improvements'
45+
commits:
46+
- subject: '^perf'
47+
- title: '🧰 Maintenance'
48+
commits:
49+
- subject: '^chore'
50+
51+
# Show each change as “- commit-title (#PR) by @author”
52+
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
53+
54+
# Optional: if nothing matched
55+
no-changes-template: '- Internal improvements only'

0 commit comments

Comments
 (0)