Skip to content

Commit c0f1509

Browse files
committed
release drafter
1 parent e37676c commit c0f1509

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.github/release-drafter-config.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name-template: '$NEXT_MINOR_VERSION'
2+
tag-template: 'v$NEXT_MINOR_VERSION'
3+
filter-by-commitish: true
4+
commitish: master
5+
autolabeler:
6+
- label: 'maintenance'
7+
files:
8+
- '*.md'
9+
- '.github/*'
10+
- label: 'bug'
11+
branch:
12+
- '/bug-.+'
13+
- label: 'maintenance'
14+
branch:
15+
- '/maintenance-.+'
16+
- label: 'feature'
17+
branch:
18+
- '/feature-.+'
19+
categories:
20+
- title: '🔥 Breaking Changes'
21+
labels:
22+
- 'breakingchange'
23+
- title: '🧪 Experimental Features'
24+
labels:
25+
- 'experimental'
26+
- title: '🚀 New Features'
27+
labels:
28+
- 'feature'
29+
- 'enhancement'
30+
- title: '🐛 Bug Fixes'
31+
labels:
32+
- 'fix'
33+
- 'bugfix'
34+
- 'bug'
35+
- 'BUG'
36+
- title: '🧰 Maintenance'
37+
labels:
38+
- 'maintenance'
39+
- 'dependencies'
40+
- 'documentation'
41+
- 'docs'
42+
- 'testing'
43+
change-template: '- $TITLE (#$NUMBER)'
44+
exclude-labels:
45+
- 'skip-changelog'
46+
template: |
47+
# Changes
48+
49+
$CHANGES
50+
51+
## Contributors
52+
We'd like to thank all the contributors who worked on this release!
53+
54+
$CONTRIBUTORS

.github/workflows/release-drafter.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
workflow_dispatch:
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Drafts your next Release notes as Pull Requests are merged into "master"
15+
- uses: release-drafter/release-drafter@v5
16+
with:
17+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
18+
config-name: release-drafter-config.yml
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)