Skip to content

Commit 26d3274

Browse files
committed
Enable release-drafter
Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent 2237f06 commit 26d3274

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

.github/release-drafter.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name-template: 'v$NEXT_MINOR_VERSION 🌈'
3+
tag-template: 'v$NEXT_MINOR_VERSION'
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: '🐛 Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: '🧰 Maintenance'
15+
label: 'chore'
16+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
17+
18+
template: |
19+
## Changes
20+
21+
$CHANGES
22+
23+
## Contributors
24+
25+
$CONTRIBUTORS
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Drafter
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
# branches to consider in the event; optional, defaults to all
7+
branches:
8+
- main
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- uses: release-drafter/release-drafter@v5
15+
with:
16+
config-name: release-drafter.yaml
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)