Repository navigation
Give each sample a changelog and release notes - #32
Merged
Merged
Conversation
A sample's GitHub release had no notes. It was generated against whichever tag came before, usually another sample's, so all it showed was a compare link to that tag, and no sample had a CHANGELOG. Every pull request now has to carry a Type/New Feature, Type/Improvement or Type/Bug label, or skip-changelog to leave it out, and a PR check fails until it does, the same check thunder-id/thunderid and the SDKs run. .github/release.yml groups the generated notes by those labels. A new release-notes action asks GitHub for the notes since the sample's previous tag (sample/<path>/v*), keeps only the pull requests that changed the sample's directory, and drops the sections that end up empty. The release job runs it after the version bump, adds the notes to the top of the sample's CHANGELOG.md, which the release commit carries, and creates the GitHub release with the same notes. The job now checks out the full history so the previous tags are there. Signed-off-by: Brion <info@brionmario.com>
This was referenced Nov 23, 2026
ThaminduDilshan
approved these changes
Nov 25, 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.
Purpose
A sample's GitHub release has no notes. GitHub generates them against whichever tag came before, usually another sample's, so a release like ThunderID Self-Care Account Sample v1.0.0 shows only a compare link to
sample/management/admin/v1.0.0. No sample has a CHANGELOG either. This gives each sample a CHANGELOG and grouped release notes in the same format as thunder-id/thunderid and the SDKs.Approach
pr-label-check.yml: the same PR check thunder-id/thunderid runs. A pull request must carryType/New Feature,Type/ImprovementorType/Bug, orskip-changelogto leave it out of the notes..github/release.yml: groups the generated notes by those labels:breaking change), 🚀 Features, ✨ Improvements, 🐛 Bug Fixes and 📝 Other Changes. It uses the same configuration as thunder-id/thunderid..github/actions/release-notes: asks GitHub for the notes between the sample's previous tag (sample/<path>/v*) and its new one, then keeps only the pull requests that changed files under the sample's directory and drops the sections that end up empty.<path>/CHANGELOG.mdunder## <version>, without the "What's Changed" heading and the "New Contributors" section.release.yml:--notes-file.Related Issues
Related PRs
The same label check and changelog for the SDKs:
Checklist
self-care/account(no changes since v1.0.0; GitHub's unfiltered notes list 9 unrelated PRs).quickstarts/flutter(only Migrate the Flutter samples to material_ui #26, matchinggit logfor the directory).b2b/wayfinder-enterpriseas a first release (its 4 PRs, no compare link).Security checks
env.