Add GitHub action to draft releases notes

This commit is contained in:
Bruno Alla 2020-04-18 12:33:13 +01:00
parent 7a435b3d4a
commit 4ab97dd5a4
2 changed files with 44 additions and 0 deletions

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

@ -0,0 +1,30 @@
categories:
- title: 'Breaking Changes'
labels:
- 'breaking'
- title: 'Major Changes'
labels:
- 'major'
- title: 'Minor Changes'
labels:
- 'enhancement'
- title: 'Bugfixes'
labels:
- 'bug'
- title: 'Removals'
labels:
- 'removed'
- title: 'Documentation updates'
labels:
- 'docs'
- title: 'Dependencies updates'
labels:
- 'update'
exclude-labels:
- 'skip-changelog'
template: |
## Changes
$CHANGES

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

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