Skip to content

Commit b3bd8ba

Browse files
committed
Add release configuration files for changelog categorization and update release-drafter version
1 parent 1017795 commit b3bd8ba

3 files changed

Lines changed: 35 additions & 6 deletions

File tree

.github/release-drafter.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ categories:
1313
- title: '🚀 New'
1414
labels:
1515
- '✏️ Feature'
16+
- '📝 Proposal'
1617
- title: '🧹 Updates'
1718
labels:
1819
- '🧹 Updates'
19-
- '🤖 Dependencies'
20+
- '⚡️ Performance'
2021
- title: '🐛 Fixes'
2122
labels:
2223
- '☢️ Bug'
24+
- title: '🛠️ Maintenance'
25+
labels:
26+
- '🤖 Dependencies'
2327
- title: '📚 Documentation'
2428
labels:
2529
- '📒 Documentation'
@@ -31,19 +35,17 @@ exclude-contributors:
3135
version-resolver:
3236
major:
3337
labels:
34-
- 'major'
3538
- '❗ BreakingChange'
3639
minor:
3740
labels:
38-
- 'minor'
3941
- '✏️ Feature'
4042
patch:
4143
labels:
42-
- 'patch'
4344
- '📒 Documentation'
4445
- '☢️ Bug'
4546
- '🤖 Dependencies'
4647
- '🧹 Updates'
48+
- '⚡️ Performance'
4749
default: patch
4850
template: |
4951
$CHANGES

.github/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# .github/release.yml
2+
3+
changelog:
4+
categories:
5+
- title: '❗ Breaking Changes'
6+
labels:
7+
- '❗ BreakingChange'
8+
- title: '🚀 New Features'
9+
labels:
10+
- '✏️ Feature'
11+
- '📝 Proposal'
12+
- title: '🧹 Updates'
13+
labels:
14+
- '🧹 Updates'
15+
- '⚡️ Performance'
16+
- title: '🐛 Bug Fixes'
17+
labels:
18+
- '☢️ Bug'
19+
- title: '🛠️ Maintenance'
20+
labels:
21+
- '🤖 Dependencies'
22+
- title: '📚 Documentation'
23+
labels:
24+
- '📒 Documentation'
25+
- title: 'Other Changes'
26+
labels:
27+
- '*'

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Fetch shared release-drafter config
35-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
35+
uses: actions/checkout@v6
3636
with:
3737
repository: ${{ inputs.config-repository }}
3838
ref: ${{ inputs.config-ref }}
3939
path: shared-config
4040

4141
- name: Run release-drafter
42-
uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
42+
uses: release-drafter/release-drafter@5de93583980a40bd78603b6dfdcda5b4df377b32 # v7.2.0
4343
with:
4444
config-name: shared-config/${{ inputs.config-path }}
4545
disable-autolabeler: true

0 commit comments

Comments
 (0)