Skip to content

Commit

Permalink
Add release-drafter (#7878)
Browse files Browse the repository at this point in the history
* Add release-drafter
* Review feedback
  • Loading branch information
kurkle committed Oct 13, 2020
1 parent 531d4c0 commit 8d5249f
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/release-drafter.yml
@@ -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 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
@@ -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 }}

0 comments on commit 8d5249f

Please sign in to comment.