Skip to content

Commit 8c0ce8c

Browse files
committed
Experiment with release drafter.
1 parent a16b7db commit 8c0ce8c

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

.github/release-drafter-config.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name-template: '$NEXT_MINOR_VERSION'
2-
tag-template: 'v$NEXT_MINOR_VERSION'
1+
name-template: '$NEXT_MAJOR_VERSION'
2+
tag-template: 'v$NEXT_MAJOR_VERSION'
33
filter-by-commitish: true
44
commitish: master
55
autolabeler:
@@ -17,16 +17,19 @@ autolabeler:
1717
branch:
1818
- '/feature-.+'
1919
categories:
20-
- title: '🔥 Breaking Changes'
20+
- title: '🚀 New Features'
2121
labels:
22-
- 'breakingchange'
22+
- 'feature'
23+
- 'enhancement'
2324
- title: '🧪 Experimental Features'
2425
labels:
2526
- 'experimental'
26-
- title: '🚀 New Features'
27+
- title: '🔥 Breaking Changes'
2728
labels:
28-
- 'feature'
29-
- 'enhancement'
29+
- 'breakingchange'
30+
- title: '⚠️ Deprecations'
31+
labels:
32+
- 'deprecation'
3033
- title: '🐛 Bug Fixes'
3134
labels:
3235
- 'fix'
@@ -37,9 +40,10 @@ categories:
3740
labels:
3841
- 'maintenance'
3942
- 'dependencies'
40-
- 'documentation'
41-
- 'docs'
4243
- 'testing'
44+
- 'techdebt'
45+
- 'docs-review'
46+
- 'update-docs'
4347
change-template: '- $TITLE (#$NUMBER)'
4448
exclude-labels:
4549
- 'skip-changelog'

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# branches to consider in the event; optional, defaults to all
66
branches:
77
- master
8+
- ps_rearrange_release_notes_template
89

910
permissions: {}
1011
jobs:
@@ -19,6 +20,6 @@ jobs:
1920
- uses: release-drafter/release-drafter@v6
2021
with:
2122
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
22-
config-name: release-drafter-config.yml
23+
config-name: ../release-drafter-config.yml
2324
env:
2425
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)