chore: configure release-drafter
This commit is contained in:
parent
3078e02b4b
commit
f916d55985
2 changed files with 29 additions and 0 deletions
13
.github/release-drafter.yml
vendored
Normal file
13
.github/release-drafter.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
name-template: 'v$NEXT_PATCH_VERSION'
|
||||
tag-template: 'v$NEXT_PATCH_VERSION'
|
||||
categories:
|
||||
- title: "🚀 Features"
|
||||
label: "feature"
|
||||
- title: "🐛 Bug Fixes"
|
||||
label: "bug"
|
||||
- title: "🧹 Maintenance"
|
||||
label: "chore"
|
||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||
template: |
|
||||
## Changes
|
||||
$CHANGES
|
||||
16
.github/workflows/release.yml
vendored
Normal file
16
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
types: [closed]
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Draft Release
|
||||
uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Reference in a new issue