Skip to content

Commit 5c475b1

Browse files
committed
Add release drafter
1 parent 546cada commit 5c475b1

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.github/release-drafter.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- 'feat'
9+
- title: 'Improvements'
10+
labels:
11+
- 'perf'
12+
- 'refactor'
13+
- title: 'Tests'
14+
labels:
15+
- 'tests'
16+
- 'testing'
17+
- title: '🐛 Bug Fixes'
18+
labels:
19+
- 'fix'
20+
- 'bugfix'
21+
- 'bug'
22+
- 'hotfix'
23+
- 'revert'
24+
- title: '🧰 Maintenance'
25+
labels:
26+
- 'docs'
27+
- 'chore'
28+
- 'maintenance'
29+
- 'style'
30+
- 'build'
31+
- 'chores'
32+
- 'ci'
33+
- title: '📈 Version Bumps'
34+
labels:
35+
- 'dependencies'
36+
change-template: '- $TITLE by @$AUTHOR (#$NUMBER)'
37+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
38+
version-resolver:
39+
major:
40+
labels:
41+
- 'major'
42+
minor:
43+
labels:
44+
- 'minor'
45+
patch:
46+
labels:
47+
- 'patch'
48+
default: patch
49+
template: |
50+
# Changes
51+
52+
$CHANGES
53+
54+
For more details see the [full list of changes](https://github.com/kinoplan/utils/compare/$PREVIOUS_TAG...v$NEXT_PATCH_VERSION/).
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)