-
Notifications
You must be signed in to change notification settings - Fork 183
/
release-drafter.yml
70 lines (64 loc) · 1.32 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
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
change-template: '- $TITLE [#$NUMBER](https://github.com/gdsfactory/gdsfactory/pull/$NUMBER)'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 'Breaking'
label: 'breaking'
- title: 'New'
labels:
- 'feature'
- 'enhancement'
- title: 'Bug Fixes'
label: 'bug'
- title: 'Maintenance'
labels:
- 'maintenance'
- 'github_actions'
- title: 'Documentation'
label: 'documentation'
- title: 'Other changes'
- title: 'Dependency Updates'
label: 'dependencies'
collapse-after: 5
version-resolver:
major:
labels:
- 'breaking'
- 'major'
minor:
labels:
- 'feature'
- 'minor'
- 'enhancement'
patch:
labels:
- 'bug'
- 'maintenance'
- 'github_actions'
- 'documentation'
- 'dependencies'
- 'security'
default: patch
exclude-labels:
- 'skip-changelog'
autolabeler:
- label: 'documentation'
files:
- '*.md'
branch:
- '/docs-.+/'
- label: 'bug'
branch:
- '/fix-.+/'
title:
- '/fix/i'
- label: 'enhancement'
branch:
- '/feature-.+/'
- '/add-.+/'
title:
- '/^add\s/i'