Skip to content

Commit e60dd43

Browse files
authored
Move Release Drafter category labels under when (#33)
1 parent ba56d5d commit e60dd43

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

‎.github/release-drafter.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ exclude-labels:
99
- 'skip-changelog'
1010
categories:
1111
- title: 'Breaking Changes'
12-
labels: ['breaking']
12+
when:
13+
labels: ['breaking']
1314
- title: 'Features'
14-
labels: ['feature', 'enhancement']
15+
when:
16+
labels: ['feature', 'enhancement']
1517
- title: 'Bug Fixes'
16-
labels: ['bug', 'fix']
18+
when:
19+
labels: ['bug', 'fix']
1720
- title: 'Maintenance'
18-
labels: ['chore', 'ci', 'dependencies', 'documentation', 'refactor']
21+
when:
22+
labels: ['chore', 'ci', 'dependencies', 'documentation', 'refactor']
1923
version-resolver:
2024
major:
2125
labels: ['breaking']

‎template/.github/release-drafter.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ exclude-labels:
99
- 'skip-changelog'
1010
categories:
1111
- title: 'Breaking Changes'
12-
labels: ['breaking']
12+
when:
13+
labels: ['breaking']
1314
- title: 'Features'
14-
labels: ['feature', 'enhancement']
15+
when:
16+
labels: ['feature', 'enhancement']
1517
- title: 'Bug Fixes'
16-
labels: ['bug', 'fix']
18+
when:
19+
labels: ['bug', 'fix']
1720
- title: 'Maintenance'
18-
labels: ['chore', 'ci', 'dependencies', 'documentation', 'refactor']
21+
when:
22+
labels: ['chore', 'ci', 'dependencies', 'documentation', 'refactor']
1923
version-resolver:
2024
major:
2125
labels: ['breaking']

0 commit comments

Comments
 (0)