Skip to content

Make towncrier fail on invalid news fragment suffixes - #3176

Merged
adamtheturtle merged 1 commit into
mainfrom
agent/issue-3175-towncrier-ignore
Aug 29, 2026
Merged

Make towncrier fail on invalid news fragment suffixes#3176
adamtheturtle merged 1 commit into
mainfrom
agent/issue-3175-towncrier-ignore

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

  • configure Towncrier to allow only .gitkeep as a non-fragment file
  • make invalid fragment suffixes fail the changelog build

Verification

  • towncrier==25.8.0 builds the current fragments in draft mode
  • an added 999999.invalid fragment fails with Invalid news fragment name
  • repository pre-commit and pre-push hooks passed

Closes #3175

@adamtheturtle
adamtheturtle merged commit a4a78f8 into main Aug 29, 2026
14 checks passed
@adamtheturtle
adamtheturtle deleted the agent/issue-3175-towncrier-ignore branch August 29, 2026 15:03
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.

Make towncrier fail on invalid news fragment suffixes

1 participant