Skip to content

ci: cleaner regen commit subject + changelog sections#44

Merged
kj-podonos merged 3 commits into
mainfrom
kj-podonos/changelog-cleanup
Jun 15, 2026
Merged

ci: cleaner regen commit subject + changelog sections#44
kj-podonos merged 3 commits into
mainfrom
kj-podonos/changelog-cleanup

Conversation

@kj-podonos

Copy link
Copy Markdown
Contributor

Summary

Makes release-please CHANGELOGs readable.

  • Regen commit subjectfeat: sync SDK to OnePin API vX.Y.Z (was feat: regenerate SDK from API spec @<40-char-sha> (spec v…)). The sha stays in the PR body + .spec-sha for traceability — it just leaves the changelog line.
  • changelog-sections → only Features / Bug Fixes / Performance render; chore/ci/docs/test/build/refactor/style are hidden.

Effect

Takes effect on the next regen + release. Doesn't touch the current 0.6.0 release PR — hand-edit that one's CHANGELOG.md if you want nicer wording now.

Test plan

  • actionlint clean (regen.yml)
  • release-please-config.json valid JSON
  • next regen PR subject reads sync SDK to OnePin API v…

🤖 Generated with Claude Code

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>
@kj-podonos kj-podonos self-assigned this Jun 15, 2026
kj-podonos and others added 2 commits June 15, 2026 14:20
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>
@kj-podonos kj-podonos merged commit 0e1cb09 into main Jun 15, 2026
19 checks passed
@kj-podonos kj-podonos deleted the kj-podonos/changelog-cleanup branch June 15, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant