-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathrelease-drafter.yml
63 lines (62 loc) · 1.25 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
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: "New Features ✨"
labels:
- "feature"
- "enhancement"
- title: "Bug Fixes 🐛"
labels:
- "fix"
- "bugfix"
- "bug"
- title: "Under the Hood ⚙️"
labels:
- "chore"
- "ci"
- "refactor"
- title: "Documentation 📖"
label: "docs"
change-template: "- $TITLE (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch
template: |
## Changes
$CHANGES
autolabeler:
- label: "chore"
title:
- '/^chore(\(.*\))?\:/i'
- label: "ci"
title:
- '/^ci(\(.*\))?\:/i'
- label: "bug"
title:
- '/^fix(\(.*\))?\:/i'
- label: "enhancement"
title:
- '/^feat(\(.*\))?/i'
- label: "docs"
title:
- '/^docs(\(.*\))?\:/i'
- label: "security"
title:
- '/^security(\(.*\))?\:/i'
- '/^fix(\(security\))?\:/i'
- label: "dependencies"
title:
- '/^chore\(deps\)\:/i'
- '/^build\(deps\)\:/i'
- label: "breaking"
title:
- '/!:\s*$/i'