Skip to content

Commit 5b6cd7e

Browse files
committed
Add post-release.yml to update changelogs automatically
1 parent 6b66691 commit 5b6cd7e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/post-release.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Post-release
2+
on:
3+
release:
4+
types: [published, released]
5+
workflow_dispatch:
6+
7+
jobs:
8+
changelog:
9+
name: Update changelog
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
ref: main
15+
- uses: rhysd/changelog-from-release/action@v3
16+
with:
17+
file: CHANGELOG.md
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
commit_summary_template: 'update changelog for %s changes'

0 commit comments

Comments
 (0)