Enable Release Drafter workflow

This commit is contained in:
Deirdre Connolly 2021-01-27 22:37:50 -05:00 committed by Deirdre Connolly
parent 6fd5b2db30
commit 018fa2ff62
2 changed files with 37 additions and 0 deletions

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

@ -0,0 +1,19 @@
prerelease: true
categories:
- title: 'Features'
labels:
- 'feature'
- 'enhancement'
- title: 'Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: 'Maintenance'
label: 'chore'
change-template: '- $TITLE (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
template: |
## Changes
$CHANGES

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

@ -0,0 +1,18 @@
name: Release Drafter
on:
push:
branches:
- main
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into main
- uses: release-drafter/release-drafter@latest
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}