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:
parent
bcd77f2dd3
commit
bd2a010990
|
@ -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'
|
|
@ -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
|
Loading…
Reference in New Issue