feat: add git-cliff changelog generation to release workflow#94
Merged
feat: add git-cliff changelog generation to release workflow#94
Conversation
Adds a `generate-changelog` job that runs git-cliff between the previous `latest` tag and HEAD, outputting grouped conventional-commit release notes into both the `latest` and `individual-themes` GitHub release bodies. Also adds `cliff.toml` with commit groups suited to this themes repository. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
f194a7a to
1a24171
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
generate-changelogjob tobuild_release.ymlthat installs git-cliff and generates a changelog from the previouslatesttag toHEADupload(Latest Themes Package) andupload-individual(Individual Theme Packages) release jobs now receive the changelog as their release body, so GitHub releases show what changed since the last pushcliff.tomlat the repo root configuring conventional-commit parsing with groups suited to this repo: Features, Bug Fixes, Documentation, CI/CD, Chores, and OtherHow it works
latesttag is force-pushed, the job resolves the commit SHA it currently points to<prev-sha>..HEAD(full history on first run when nolatesttag exists yet)bodyfield onsoftprops/action-gh-releaseReviewer notes
generate-changelogjob is gated withif: github.event_name != 'pull_request'— it won't run on PRswgetpattern as EdgeTX/edgetx'srelease-drafter.ymlfeat: add theme (#93)) so they appear naturally in the changelog body🤖 Generated with Claude Code