Skip to content

Commit 3a7f541

Browse files
authored
Merge pull request #16 from ucan-lab/chore-create-release-note
chore: create release note
2 parents e03a3f1 + 4bed796 commit 3a7f541

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/release-drafter.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'feature'
7+
- title: '🐛 Bug Fixes'
8+
labels:
9+
- 'bug'
10+
- title: '📝 Other Changes'
11+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
12+
change-title-escapes: '\<*_&'
13+
version-resolver:
14+
major:
15+
labels:
16+
- 'major'
17+
minor:
18+
labels:
19+
- 'minor'
20+
default: patch
21+
template: |
22+
$CHANGES
23+
footer: |
24+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Create Release Note
2+
on:
3+
push:
4+
branches: [main]
5+
jobs:
6+
release-draft:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: release-drafter/release-drafter@v6
16+
with:
17+
config-name: release-drafter.yaml
18+
commitish: main
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)