chore: configure release-drafter

This commit is contained in:
WebStreamr 2025-05-08 19:08:42 +00:00
parent 3078e02b4b
commit f916d55985
No known key found for this signature in database
2 changed files with 29 additions and 0 deletions

13
.github/release-drafter.yml vendored Normal file
View 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
View 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 }}