Add GitHub action for release drafter
This commit is contained in:
40
.github/release-drafter.yml
vendored
Normal file
40
.github/release-drafter.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
|
||||||
|
name-template: 'v$NEXT_PATCH_VERSION 🌈'
|
||||||
|
tag-template: 'v$NEXT_PATCH_VERSION'
|
||||||
|
version-template: $MAJOR.$MINOR.$PATCH
|
||||||
|
# Emoji reference: https://gitmoji.carloscuesta.me/
|
||||||
|
categories:
|
||||||
|
- title: '🚀 Features'
|
||||||
|
labels:
|
||||||
|
- 'feature'
|
||||||
|
- 'enhancement'
|
||||||
|
- 'kind/feature'
|
||||||
|
- title: '🐛 Bug Fixes'
|
||||||
|
labels:
|
||||||
|
- 'fix'
|
||||||
|
- 'bugfix'
|
||||||
|
- 'bug'
|
||||||
|
- 'regression'
|
||||||
|
- 'kind/bug'
|
||||||
|
- title: 📝 Documentation updates
|
||||||
|
labels:
|
||||||
|
- 'documentation'
|
||||||
|
- 'kind/documentation'
|
||||||
|
- title: 👻 Maintenance
|
||||||
|
labels:
|
||||||
|
- chore
|
||||||
|
- dependencies
|
||||||
|
- 'kind/cleanup'
|
||||||
|
- title: 🚦 Tests
|
||||||
|
labels:
|
||||||
|
- test
|
||||||
|
- tests
|
||||||
|
exclude-labels:
|
||||||
|
- reverted
|
||||||
|
- no-changelog
|
||||||
|
- skip-changelog
|
||||||
|
- invalid
|
||||||
|
change-template: '* $TITLE (#$NUMBER) @$AUTHOR'
|
||||||
|
template: |
|
||||||
|
## What’s Changed
|
||||||
|
$CHANGES
|
||||||
14
.github/workflows/release-drafter.yml
vendored
Normal file
14
.github/workflows/release-drafter.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user