ci: 👷 adds configuration for gitea-release-drafter

This commit adds the configuration for gitea-release-drafter and an corresponding workflow to autoamtically draft release notes on successfull merges to the main branch.
This commit is contained in:
Florian Beisel 2024-01-14 22:53:20 +01:00
parent bcd77f2dd3
commit bd2a010990
Signed by: florian
GPG Key ID: 79ECA2E54996FF4D
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,30 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
version-resolver:
major:
labels:
- 'ReleaseTarget/Major'
- 'Kind/Breaking'
minor:
labels:
- 'ReleaseTarget/Minor'
patch:
labels:
- 'ReleaseTarget/Patch'
default: patch
categories:
- title: '🚀 Features'
labels:
- 'Kind/Breaking'
- 'Kind/Feature'
- 'Kind/Enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'Kind/Bug'
- 'Kind/Security'
- title: '🧰 Maintenance'
labels:
- 'Kind/Documentation'
- 'Kind/CI'

View File

@ -0,0 +1,17 @@
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Use Go Action
id: use-go-action
uses: https://git.beisel.it/florian/gitea-release-drafter@main