Skip to content

Commit 997d4a9

Browse files
Add release drafter
1 parent ab7e46c commit 997d4a9

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/release-drafter.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Template for release drafts
2+
name-template: 'v$NEXT_PATCH_VERSION' # You can switch to $NEXT_MINOR_VERSION or $NEXT_MAJOR_VERSION
3+
tag-template: 'v$NEXT_PATCH_VERSION'
4+
categories:
5+
- title: "🚀 Features"
6+
labels:
7+
- feature
8+
- title: "🐛 Bug Fixes"
9+
labels:
10+
- fix
11+
- bug
12+
- title: "🧰 Maintenance"
13+
labels:
14+
- chore
15+
- refactor
16+
change-template: '- $TITLE (#$NUMBER) by @$AUTHOR'
17+
change-title-template: '### $TITLE'
18+
template: |
19+
## Changes
20+
21+
$CHANGES
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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: actions/checkout@v4
13+
- uses: release-drafter/release-drafter@v6
14+
with:
15+
config-name: release-drafter.yml
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)