Skip to content

Commit 4eb476c

Browse files
Vrtak-CZclaude
andcommitted
fix(ci): generate release notes from conventional commits
GitHub's auto-generated release notes require PRs to produce meaningful content. Since commits go directly to main, releases had empty bodies. Use requarks/changelog-action to build the release body from conventional commit history instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent abd7c15 commit 4eb476c

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,19 @@ jobs:
4242
git tag "$VERSION"
4343
git push origin "$VERSION"
4444
45+
- name: Generate release notes
46+
id: changelog
47+
uses: requarks/changelog-action@v1
48+
with:
49+
token: ${{ github.token }}
50+
tag: ${{ inputs.version != '' && inputs.version || steps.semver.outputs.nextStrict }}
51+
writeToFile: false
52+
useGitmojis: false
53+
excludeTypes: ""
54+
includeInvalidCommits: true
55+
4556
- name: Create release
4657
uses: softprops/action-gh-release@v2
4758
with:
4859
tag_name: ${{ inputs.version != '' && inputs.version || steps.semver.outputs.nextStrict }}
49-
generate_release_notes: true
60+
body: ${{ steps.changelog.outputs.changes }}

0 commit comments

Comments
 (0)