Merge pull request #65 from psalm/release-drafter

Add release drafter
This commit is contained in:
feek 2020-05-11 22:52:51 -07:00 committed by GitHub
commit db2f1a2769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

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

@ -0,0 +1,21 @@
name-template: 'v$NEXT_PATCH_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 New Functionality'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🔨 Maintenance'
labels:
- 'chore'
- 'refactor'
change-template: '- $TITLE (#$NUMBER) @$AUTHOR '
template: |
# What's Changed ✨
$CHANGES

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

@ -0,0 +1,19 @@
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: config/release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}