refactor(changelog): adopt changelog-action with EN/ES/ZH changelogs #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/changelog-action"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Migrates BLIIS onto the shared
brooktrails/changelog-action(pinned@v1) and configures it to maintain three parallel changelogs: English, Spanish, and Mandarin Chinese.This retires bliis's forked
hack/update-changelog.sh, which had drifted to the pre-inferenceSTUB: N bytesversion and never received the real summarizer — exactly the copy-per-project drift the action exists to prevent.Changes
.forgejo/workflows/build-push.yaml— the inline changelog step becomes auses:step with a 3-languagetargets:list. Each target gets its own summary in its own language, all committed together with[skip ci]; never-fail-the-release semantics preserved..changelog.env(new) — BLIIS's product identity, the single source of truth the action reads to build the prompt.CHANGELOG.es.md,CHANGELOG.zh.md(new) — parallel scaffolds with a translated header and the seed[0.0.0]entry, giving the action an anchor to splice above.CHANGELOG.md— header drops the obsolete STUB note; points at the action and the two translations.hack/update-changelog.sh.Dependency
Requires
brooktrails/changelog-actionat@v1(already pushed). While wiring the Chinese target I found and fixed a real bug in the action:normalize_summaryused coreutilsfold, which counts bytes and would split a multibyte character mid-sequence — corrupting CJK/accented text. It now uses a multibyte-safe word-wrap (shipped as v1.0.1;v1moved to it, so slp inherits the fix).Verification
inference.brooktrails.orgin Mandarin: a throwaway tagged repo ran the realupdate-changelog.shagainst theCHANGELOG.zh.mdscaffold. Result: a coherent Chinese summary spliced above[0.0.0], the whole file valid UTF-8 (no character corruption), link block refreshed.## [x.y.z]/[x.y.z]:markers the splice keys on.originand theSERVER_URL/REPOSITORYfallback the action provides.The true CI end-to-end runs on the first release to
mainafter merge.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.