Skip to content

Commit 8d5249f

Browse files
authored
Add release-drafter (chartjs#7878)
* Add release-drafter * Review feedback
1 parent 531d4c0 commit 8d5249f

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

.github/release-drafter.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '# Breaking Changes'
5+
labels:
6+
- 'breaking change'
7+
- title: '# Enhancements'
8+
labels:
9+
- 'type: enhancement'
10+
- title: '# Performance'
11+
labels:
12+
- 'type: performance'
13+
- title: '# Bugs Fixed'
14+
labels:
15+
- 'type: bug'
16+
- title: '# Types'
17+
labels:
18+
- 'type: types'
19+
- title: '# Documentation'
20+
labels:
21+
- 'type: documentation'
22+
- title: '# Development'
23+
labels:
24+
- 'type: chore'
25+
change-template: '- #$NUMBER $TITLE'
26+
change-title-escapes: '\<*_&`#@'
27+
version-resolver:
28+
major:
29+
labels:
30+
- 'breaking change'
31+
minor:
32+
labels:
33+
- 'type: enhancement'
34+
patch:
35+
labels:
36+
- 'type: bug'
37+
- 'type: chore'
38+
- 'type: types'
39+
default: patch
40+
template: |
41+
# Essential Links
42+
43+
* [npm](https://www.npmjs.com/package/chart.js)
44+
* [Migration guide](https://www.chartjs.org/docs/next/getting-started/v3-migration)
45+
* [Docs](https://www.chartjs.org/docs/next/)
46+
* [API](https://www.chartjs.org/docs/next/typedoc/)
47+
* [Samples](https://www.chartjs.org/samples/next/)
48+
49+
## Changes
50+
51+
$CHANGES
52+
53+
Thanks to $CONTRIBUTORS

.github/workflows/release-drafter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)