Skip to content

ci(changelog): suggest <type>.md when an added file has no type - #3521

Merged
datlechin merged 1 commit into
mainfrom
ci/changelog-fragment-hint
Oct 18, 2026
Merged

datlechin merged 1 commit into
mainfrom
ci/changelog-fragment-hint

Conversation

@datlechin

Copy link
Copy Markdown
Member

Why

Change

  • The hint keeps the suffix only when it still holds a type and an extension (fixed.md, fixed.2.md). Otherwise it prints changelog.d/<number>.<type>.md.

Verified

  • test_a_file_that_is_not_a_fragment_gets_the_type_placeholder fails on main for notes.txt and README.md and passes here. It replaces test_a_file_that_is_not_a_fragment_is_refused, which checked only that the file is refused.

@datlechin
datlechin merged commit 223d9f8 into main Oct 18, 2026
7 checks passed
@datlechin
datlechin deleted the ci/changelog-fragment-hint branch October 18, 2026 11:53
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