ci: cleaner regen commit subject + changelog sections#44
Merged
Conversation
Regen PRs now use a human commit subject ("sync SDK to OnePin API vX.Y.Z")
instead of "regenerate SDK from API spec @<long-sha>" — the sha stays in the
PR body + .spec-sha. release-please `changelog-sections` hides chore/ci/docs/
test/build/refactor/style so the CHANGELOG shows only Features/Bug Fixes/Perf.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Address code review: sanitize the dispatch-supplied spec_version (grep -qzE, whole-string anchored) before it reaches $GITHUB_OUTPUT / the commit subject — closes an output-injection surface. Add a Reverts changelog-section so revert: commits aren't silently dropped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
codex review: the config's declared $schema requires both type+section on every changelog-sections item. release-please runtime tolerates the omission (dry-run passes), but conform to the schema so validators/IDE don't flag it. hidden:true means these section titles never render. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Makes release-please CHANGELOGs readable.
feat: sync SDK to OnePin API vX.Y.Z(wasfeat: regenerate SDK from API spec @<40-char-sha> (spec v…)). The sha stays in the PR body +.spec-shafor traceability — it just leaves the changelog line.changelog-sections→ onlyFeatures/Bug Fixes/Performancerender;chore/ci/docs/test/build/refactor/styleare hidden.Effect
Takes effect on the next regen + release. Doesn't touch the current
0.6.0release PR — hand-edit that one'sCHANGELOG.mdif you want nicer wording now.Test plan
sync SDK to OnePin API v…🤖 Generated with Claude Code