Skip to content

Exclude non-changelog git trailers from changelog entries#106

Merged
saturnflyer merged 1 commit intomainfrom
fix/exclude-non-changelog-trailers
Feb 12, 2026
Merged

Exclude non-changelog git trailers from changelog entries#106
saturnflyer merged 1 commit intomainfrom
fix/exclude-non-changelog-trailers

Conversation

@saturnflyer
Copy link
Member

Summary

  • Non-changelog git trailers (e.g. Co-Authored-By:, Signed-off-by:, Not-Normal:) were being appended as continuation text to changelog entries
  • The multi-line continuation logic now breaks on any git trailer format (Key: Value), not just recognized changelog section names
  • Added tests verifying non-changelog trailers are excluded both after and between changelog trailers

Test plan

  • New test: test_read_excludes_non_changelog_trailers_from_entries
  • New test: test_read_excludes_non_changelog_trailers_between_changelog_trailers
  • Existing multiline continuation tests still pass

Non-changelog trailers like Co-Authored-By and Signed-off-by were being
appended to changelog entries as continuation text. The multi-line
continuation logic now breaks on any git trailer format (Key: Value),
not just recognized changelog section names.

Fixed: Non-changelog git trailers no longer appear in changelog entries
@saturnflyer saturnflyer requested a review from a team as a code owner February 12, 2026 22:31
@saturnflyer saturnflyer merged commit d085e78 into main Feb 12, 2026
2 checks passed
@saturnflyer saturnflyer deleted the fix/exclude-non-changelog-trailers branch February 12, 2026 22:34
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.

2 participants