feat: automate CHANGELOG.md updates from GitHub Release notes#224
Merged
petesramek merged 1 commit intodevelop/1.0from Apr 5, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/6e452773-9f9c-434e-874c-0e568ec0d9c2 Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
petesramek
April 5, 2026 17:47
View session
petesramek
approved these changes
Apr 5, 2026
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.
CHANGELOG.mdhad no automated update mechanism — entries had to be added manually or not at all. This wires the existinggh release create --generate-notesoutput directly intoCHANGELOG.mdon every stable release.What changed
.github/release.yml(new)Configures GitHub's auto-generated release note categories via PR labels:
breaking,feat/enhancement,fix/bug,docs/documentation. Unlabelled PRs fall into "Other Changes";ignore-for-releasesuppresses an entry entirely.CHANGELOG.mdReplaced the placeholder with a Keep a Changelog header and an HTML comment marker that the workflow targets for insertion:
.github/workflows/release.yml—update-changelogjobNew job, runs after
release, stable branches only (is-release == 'true'):gh release view <version> --json body --jq '.body'## <version> — YYYY-MM-DD+ release notes immediately after the comment marker usingawk, leaving the rest of the file intactrelease/X.Y(same pattern as the existingpromote-api-filesjob)merge-to-maingainsupdate-changelogin itsneeds, so the PR tomainalways includes the updated file..github/PULL_REQUEST_TEMPLATE.mdAdded checklist item: apply one of the release-note label categories (
breaking/feat/fix/docs).docs/workflows.mdAdded
update-changelogrow to therelease.ymljob table.