fix(changelog): merge the duplicated Unreleased "Changed" section - #134
Merged
Conversation
`[Unreleased]` gained a second `### Changed` heading, so `markdownlint` reported MD024 on a pristine tree and the lefthook `pre-commit` hook blocked every commit staging `CHANGELOG.md` again. The `ansible_facts` entry moves into the existing section; no wording changed. Signed-off-by: Simon Bärlocher <s.baerlocher@sbaerlocher.ch>
sbaerlocher
force-pushed
the
fix/changelog-md024
branch
from
August 10, 2026 22:27
d242e24 to
e9bec92
Compare
There was a problem hiding this comment.
No issues found.
The change correctly resolves the MD024 duplicate-heading violation by removing the second ### Changed heading in [Unreleased] and folding the ansible_facts entry into the existing ### Changed section. Verified:
- The moved entry is byte-identical (indentation and wording unchanged), so no documentation regression.
- After the move, every version section (
[Unreleased],[1.2.0],[1.1.0],[1.0.3], etc.) has exactly one of each sibling###heading, satisfyingMD024.siblings_only. - Placement is sensible: the non-breaking entry sits after the BREAKING entries and before the Renovate entry, with clean surrounding blank lines.
Documentation-only, no functional impact.
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.
Summary
[Unreleased]had two### Changedheadings, somarkdownlintreported MD024 on a pristine tree and the lefthookpre-commithook blocked every commit stagingCHANGELOG.md. This is the same class of failure fix(lint): make the markdownlint pre-commit hook pass on a pristine tree #132 fixed; the second heading was reintroduced in refactor: read facts from ansible_facts instead of top-level vars #131.ansible_factsentry moves into the existing### Changedsection. Indentation and wording are unchanged, andMD024.siblings_onlystays on so real duplicates keep being reported.Test plan
npx --yes -- markdownlint-cli2 $(git ls-files '*.md')—0 issues in 0 files(was1 issue in 1 file)npx --yes -- prettier --check CHANGELOG.md— passespre-commitran clean on the commit itself