Skip to content

Commit 71563d5

Browse files
committed
Update changelog ci for github action
1 parent 84875f6 commit 71563d5

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/changelog.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Release changelog
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
release:
5+
types:
6+
- released
77

88
jobs:
99
changelog:
@@ -14,11 +14,7 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- uses: TriPSs/conventional-changelog-action@v5
17+
- uses: rhysd/changelog-from-release/action@v3
1818
with:
19-
github-token: ${{ secrets.github_token }}
20-
git-message: '📝 Update release notes'
21-
git-user-name: 'github-actions[bot]'
22-
git-user-email: 'github-actions[bot]@users.noreply.github.com'
23-
skip-git-pull: true
24-
output-file: 'docs/changelog.md'
19+
file: CHANGELOG.md
20+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)