Skip to content

Commit ea23bd5

Browse files
committed
Add release drafter
1 parent 55059e8 commit ea23bd5

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/release-draft-template.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
exclude-labels:
4+
- 'dependencies'
5+
- 'skip-changelog'
6+
exclude-contributors:
7+
- 'dependabot'
8+
- 'dependabot[bot]'
9+
version-resolver:
10+
major:
11+
labels:
12+
- 'breaking-change'
13+
minor:
14+
labels:
15+
- 'enhancement'
16+
default: patch
17+
categories:
18+
- title: 'Features'
19+
labels:
20+
- 'feature'
21+
- 'enhancement'
22+
- title: 'Bug Fixes'
23+
labels:
24+
- 'bug'
25+
- title: '⚠ Breaking changes'
26+
label: 'breaking-change'
27+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
28+
template: |
29+
## Changes
30+
31+
$CHANGES
32+
33+
Thanks to the contributors: $CONTRIBUTORS
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release 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+
with:
14+
config-name: release_draft_template.yml
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)