Add release-drafter (#7878)

* Add release-drafter
* Review feedback
This commit is contained in:
Jukka Kurkela
2020-10-13 22:34:47 +03:00
committed by GitHub
parent 531d4c09bf
commit 8d5249f7bb
2 changed files with 67 additions and 0 deletions

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

@@ -0,0 +1,53 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '# Breaking Changes'
labels:
- 'breaking change'
- title: '# Enhancements'
labels:
- 'type: enhancement'
- title: '# Performance'
labels:
- 'type: performance'
- title: '# Bugs Fixed'
labels:
- 'type: bug'
- title: '# Types'
labels:
- 'type: types'
- title: '# Documentation'
labels:
- 'type: documentation'
- title: '# Development'
labels:
- 'type: chore'
change-template: '- #$NUMBER $TITLE'
change-title-escapes: '\<*_&`#@'
version-resolver:
major:
labels:
- 'breaking change'
minor:
labels:
- 'type: enhancement'
patch:
labels:
- 'type: bug'
- 'type: chore'
- 'type: types'
default: patch
template: |
# Essential Links
* [npm](https://www.npmjs.com/package/chart.js)
* [Migration guide](https://www.chartjs.org/docs/next/getting-started/v3-migration)
* [Docs](https://www.chartjs.org/docs/next/)
* [API](https://www.chartjs.org/docs/next/typedoc/)
* [Samples](https://www.chartjs.org/samples/next/)
## Changes
$CHANGES
Thanks to $CONTRIBUTORS

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

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