-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathrelease-drafter.yml
78 lines (71 loc) · 1.39 KB
/
release-drafter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
autolabeler:
- label: 'chore'
branch:
- '/chores{0,1}\/.*/'
title:
- '^chore.*'
files:
- '.github/**'
- label: 'documentation'
files:
- 'README.md'
branch:
- '/docs{0,1}\/.*/'
title:
- '^doc.*'
- label: 'bug'
branch:
- '/fix\/.+/'
- '/(bug|bugfix|fix|hotfix)\/.*/'
title:
- '^(bug|bugfix|fix|hotfix).*'
- label: 'feature'
branch:
- '/(feat|feature)\/.*/'
title:
- '^(feat|feature).*'
- label: 'enhancement'
branch:
- '/enhancement\/.*/'
title:
- '^enhancement.*'
- label: 'refactor'
branch:
- '/refactor\/.*/'
title:
- '^refactor/*'
name-template: '$RESOLVED_VERSION'
template: |
$CHANGES
category-template: '## $TITLE'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'refactor'
- 'chore'
- title: '📝 Document'
labels:
- 'documentation'
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
sort-by: 'title'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
exclude-labels:
- 'skip_changelog'