Skip to content

docs(changelog): add CHANGELOG.md scaffold + auto-update workflow#22

Merged
heznpc merged 1 commit intomainfrom
chore/changelog-scaffold
May 2, 2026
Merged

docs(changelog): add CHANGELOG.md scaffold + auto-update workflow#22
heznpc merged 1 commit intomainfrom
chore/changelog-scaffold

Conversation

@heznpc
Copy link
Copy Markdown
Member

@heznpc heznpc commented May 2, 2026

From the 2026-05-01 followup. Adds the missing CHANGELOG.md so the release history is discoverable from a clone, without doubling maintenance.

What's added

  • CHANGELOG.md — Keep a Changelog scaffold with ## [Unreleased] at the top, link to GitHub Releases as authoritative source.
  • .github/workflows/update-changelog.yml — triggered on release: published; reads the release body, prepends a dated entry under Unreleased, commits back to main with [skip ci].

Why

softprops/action-gh-release already runs generate_release_notes: true in cd.yml, so GitHub Releases is the source of truth. This workflow mirrors those notes into the checked-in file — readers don't have to leave the repo to see history, and PRs that touch CHANGELOG.md still appear in normal review.

Test plan

  • CI green
  • Next release publish triggers the workflow and prepends a dated entry under [Unreleased]

Add Keep a Changelog scaffold with an Unreleased section pointing at
GitHub Releases as the authoritative source, plus
.github/workflows/update-changelog.yml that prepends each new release
body into the file when a Release is published.

This makes the release history discoverable in the repo without
duplicating maintenance — softprops/action-gh-release's generated notes
are the single source of truth, mirrored into the checked-in file.
@heznpc heznpc merged commit ea029aa into main May 2, 2026
4 checks passed
@heznpc heznpc deleted the chore/changelog-scaffold branch May 2, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant