Skip to content

Commit fa855df

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

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

.github/release-drafter.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Uses Conventional Commits to decide semver + group sections
2+
name-template: 'v$RESOLVED_VERSION'
3+
tag-template: 'v$RESOLVED_VERSION'
4+
5+
# https://github.com/release-drafter/release-drafter/tree/master/docs/configuration#autolabeler
6+
autolabeler:
7+
- label: 'breaking'
8+
branch:
9+
- '/^.*!:.*/'
10+
title:
11+
- '/^.*!:.*/'
12+
- label: 'feature'
13+
branch:
14+
- '/^feat(:.*)?\/.+/'
15+
title:
16+
- '/^feat(:.*)?\s.+/'
17+
- label: 'fix'
18+
branch:
19+
- '/^fix(:.*)?\/.+/'
20+
title:
21+
- '/^fix(:.*)?\s.+/'
22+
- label: 'chore'
23+
branch:
24+
- '/^chore(:.*)?\/.+/'
25+
title:
26+
- '/^chore(:.*)?\s.+/'
27+
- label: 'docs'
28+
branch:
29+
- '/^docs(:.*)?\/.+/'
30+
title:
31+
- '/^docs(:.*)?\s.+/'
32+
- label: 'refactor'
33+
branch:
34+
- '/^refactor(:.*)?\/.+/'
35+
- '/^ref(:.*)?\/.+/'
36+
title:
37+
- '/^refactor(:.*)?\s.+/'
38+
- '/^ref(:.*)?\s.+/'
39+
- label: 'performance'
40+
branch:
41+
- '/^perf(:.*)?\/.+/'
42+
title:
43+
- '/^perf(:.*)?\s.+/'
44+
45+
# What categories to include in the release notes.
46+
categories:
47+
- title: '💥 Breaking Changes'
48+
label: 'breaking'
49+
- title: '🚀 Features'
50+
label: 'feature'
51+
- title: '🐛 Bug Fixes'
52+
label: 'fix'
53+
- title: '📝 Documentation'
54+
label: 'docs'
55+
- title: '🔄 Refactors'
56+
label: 'refactor'
57+
- title: '⚡️ Performance Improvements'
58+
label: 'performance'
59+
- title: '🧰 Maintenance'
60+
label: 'chore'
61+
62+
# Show each change as "- commit-title (#PR) by @author"
63+
change-template: '- $TITLE (#$NUMBER) by @$AUTHOR'
64+
65+
# Optional: if nothing matched
66+
no-changes-template: 'No changes in this release.'
67+
68+
version-resolver:
69+
major:
70+
labels:
71+
- 'breaking'
72+
minor:
73+
labels:
74+
- 'feature'
75+
patch:
76+
labels:
77+
- 'fix'
78+
- 'docs'
79+
- 'refactor'
80+
- 'performance'
81+
- 'chore'
82+
default: patch
83+
84+
template: |
85+
## What's Changed
86+
$CHANGES

0 commit comments

Comments
 (0)