actions: Release drafter

This commit is contained in:
Owain van Brakel
2019-11-04 02:21:11 +01:00
parent afc48ee5bc
commit 5acb7317a7
2 changed files with 39 additions and 0 deletions

24
.github/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
version-template: '$MAJOR.$MINOR.$PATCH.0'
name-template: 'v$NEXT_PATCH_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
exclude-labels:
- 'skip-changelog'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
Thanks to: $CONTRIBUTORS
## Changes
$CHANGES

15
.github/workflows/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: OpenOSRS - Release drafter
on:
push:
branches:
- master
jobs:
update_draft_release:
runs-on: ubuntu-latest
steps:
- uses: toolmantim/release-drafter@v5.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}