Skip to content

Commit ffb8faa

Browse files
authored
Create release-drafter.yml
1 parent c04e6fa commit ffb8faa

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/release-drafter.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release Drafter
2+
uses: release-drafter/[email protected]
3+
4+
on:
5+
push:
6+
# branches to consider in the event; optional, defaults to all
7+
branches:
8+
- master
9+
- 4.0
10+
11+
jobs:
12+
update_release_draft:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# Drafts your next Release notes as Pull Requests are merged into "master"
16+
- uses: release-drafter/release-drafter@v5
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
20+
name-template: '$NEXT_PATCH_VERSION 🌈'
21+
tag-template: '$NEXT_PATCH_VERSION'
22+
categories:
23+
- title: '🚀 Features'
24+
labels:
25+
- 'feature'
26+
- 'enhancement'
27+
- 'added'
28+
- title: '🐛 Bug Fixes'
29+
labels:
30+
- 'fix'
31+
- 'bugfix'
32+
- 'bug'
33+
- 'fixed'
34+
- title: '⚙️ Changes'
35+
labels:
36+
- 'changed'
37+
- 'dependencies'
38+
- title: '🧰 Removed'
39+
label: 'removed'
40+
change-template: '- $TITLE (#$NUMBER - thanks to @$AUTHOR)'
41+
template: |
42+
## Changes
43+
44+
$CHANGES

0 commit comments

Comments
 (0)