Skip to content

Commit 244d803

Browse files
authored
chore: Update automated release configuration (#53)
1 parent ee931e7 commit 244d803

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

.github/release-drafter.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name-template: 'v$RESOLVED_VERSION'
22
tag-template: 'v$RESOLVED_VERSION'
33
categories:
4-
- title: 'Features'
4+
- title: '🚀 Features'
55
labels:
66
- 'feature'
77
- 'enhancement'
8-
- title: 'Bug Fixes'
8+
- title: '🐛 Bug Fixes'
99
labels:
1010
- 'fix'
1111
- 'bugfix'
1212
- 'bug'
13-
- title: 'Maintenance'
14-
label: 'chore'
13+
- title: '🧰 Maintenance'
14+
labels:
15+
- 'chore'
16+
- 'documentation'
1517
autolabeler:
1618
- label: 'chore'
1719
files:
@@ -38,7 +40,7 @@ version-resolver:
3840
patch:
3941
labels:
4042
- 'patch'
41-
default: minor
43+
default: patch
4244
template: |
4345
## Changes
4446

.github/workflows/required-labels.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Required Labels
2+
on:
3+
pull_request:
4+
types: [opened, labeled, unlabeled, synchronize]
5+
jobs:
6+
label:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: mheap/github-action-required-labels@v5
13+
with:
14+
mode: minimum
15+
count: 1
16+
labels: |
17+
feature
18+
enhancement
19+
fix
20+
bugfix
21+
bug
22+
chore
23+
documentation
24+
add_comment: true
25+
message: "Requires label: feature, enhancement, fix, bugfix, bug, chore, documentation."

0 commit comments

Comments
 (0)