Skip to content

Commit 1352c56

Browse files
Merge branch 'peggy/release-note' into develop
2 parents 7f0b9e0 + c2c6b22 commit 1352c56

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/custom-config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name-template: "Release v$NEXT_PATCH_VERSION"
2+
tag-template: "v$NEXT_PATCH_VERSION"
3+
categories:
4+
- title: 🚀 New Features
5+
labels:
6+
- feature
7+
- title: 🐛 Bug Fixes
8+
labels:
9+
- bug
10+
- title: 🧹 Maintenance
11+
labels:
12+
- chore
13+
change-template: "- ${{PR.title}} (#${{PR.number}}) by @${{PR.author}}"
14+
no-changes-template: "- No changes in this release."
15+
sort-by: "merged_at"
16+
sort-direction: "descending"

.github/workflows/release-notes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
id: notes
1818
uses: release-drafter/release-drafter@v5
1919
with:
20+
token: ${{ secrets.GITHUB_TOKEN }}
2021
config-name: custom-config.yml
2122

2223
- name: Upload Release Notes
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure token is available
2326
run: |
2427
gh release edit ${{ github.event.release.id }} \
2528
--notes "${{ steps.notes.outputs.release_notes }}"

0 commit comments

Comments
 (0)