Merge pull request #30460 from twbs/release-drafter

Add Release Drafter Action
This commit is contained in:
Mark Otto 2020-04-14 11:12:46 -07:00 committed by GitHub
commit 33d08209f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

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

@ -0,0 +1,28 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
prerelease: true
exclude-labels:
- 'skip-changelog'
categories:
- title: '🚀 Features'
labels:
- 'new-feature'
- 'feature'
- 'enhancement'
- title: '🐛 Bug fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '📖 Docs'
labels:
- 'docs'
- title: '📦 Dependencies'
labels:
- 'dependencies'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- #$NUMBER: $TITLE'
template: |
## Changes
$CHANGES

14
.github/workflows/release-notes.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Release notes
on:
push:
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}