You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: automate changelog updates in release workflow
Replace GitHub API-based commits with local git workflow and integrate
claude-code-action to automatically generate changelog entries. The
workflow now:
- Creates release branch locally with version commits
- Uses Claude to review changes and update CHANGELOG.md
- Pushes complete branch with all commits together
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
git commit -m "chore: bump version to ${{ env.VERSION }}"
130
+
131
+
- name: Update changelog with Claude
132
+
uses: anthropics/claude-code-action@v1
133
+
with:
134
+
prompt: |
135
+
You are updating the changelog for the new release v${{ env.VERSION }}.
136
+
137
+
Update CHANGELOG.md to add a new section for version ${{ env.VERSION }} at the top of the file, right after the '# Changelog' heading.
138
+
139
+
Review the recent commits and merged pull requests since the last release (${{ steps.previous_tag.outputs.previous_tag }}) to generate meaningful changelog content for v${{ env.VERSION }}. Follow the existing format in CHANGELOG.md with sections like:
140
+
- Breaking Changes (if any)
141
+
- New Features
142
+
- Bug Fixes
143
+
- Documentation
144
+
- Internal/Other changes
145
+
146
+
Include only the sections that are relevant based on the actual changes. Write clear, user-focused descriptions.
147
+
148
+
After updating CHANGELOG.md, commit the changes with the message "docs: update changelog for v${{ env.VERSION }}".
0 commit comments