Skip to content

Commit 0776ccd

Browse files
committed
chore: satisfy Registrator AutoMerge guidelines automatically
Mirrors sotashimozono/Lattice2D.jl#23: makes release-drafter, PRLabeler, PR template and AutoRegister wrap every drafted set of release notes with a '## Changelog' header, so Registrator's required 'breaking' / 'changelog' keyword is always present on the '@JuliaRegistrator register' comment. Also adds the 'breaking' label as a first-class citizen that forces a minor version bump.
1 parent 8cea69f commit 0776ccd

1 file changed

Lines changed: 38 additions & 31 deletions

File tree

.github/release-drafter.yml

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
1-
name-template: 'v$RESOLVED_VERSION'
2-
tag-template: 'v$RESOLVED_VERSION'
3-
version-resolver:
4-
major:
5-
labels: ['major']
6-
minor:
7-
labels: ['minor']
8-
patch:
9-
labels: ['patch']
10-
default: patch
11-
categories:
12-
- title: '🚀 Features'
13-
labels:
14-
- 'enhancement'
15-
- 'feature'
16-
- title: '🐛 Bug Fixes'
17-
labels:
18-
- 'bug'
19-
- 'fix'
20-
- title: '⚡ Performance'
21-
labels:
22-
- 'performance'
23-
- title: '📖 Documentation'
24-
labels:
25-
- 'documentation'
26-
- title: '🧰 Maintenance'
27-
labels:
28-
- 'chore'
29-
- 'refactor'
30-
31-
template: |
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
version-resolver:
4+
major:
5+
labels: ['major']
6+
minor:
7+
labels:
8+
- 'minor'
9+
- 'breaking'
10+
patch:
11+
labels: ['patch']
12+
default: patch
13+
categories:
14+
- title: '💥 Breaking changes'
15+
labels:
16+
- 'breaking'
17+
- title: '🚀 Features'
18+
labels:
19+
- 'enhancement'
20+
- 'feature'
21+
- title: '🐛 Bug Fixes'
22+
labels:
23+
- 'bug'
24+
- 'fix'
25+
- title: '⚡ Performance'
26+
labels:
27+
- 'performance'
28+
- title: '📖 Documentation'
29+
labels:
30+
- 'documentation'
31+
- title: '🧰 Maintenance'
32+
labels:
33+
- 'chore'
34+
- 'refactor'
35+
36+
template: |
37+
## Changelog
38+
3239
$CHANGES

0 commit comments

Comments
 (0)