You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release-please generated CHANGELOG.md fails the Markdown Lint CI check due to MD024 (no-duplicate-heading) violations.
Release-please generates changelog entries with section headings like ### ✨ Features, ### 🐛 Bug Fixes, and ### 🔧 Maintenance for each version. When multiple versions exist in the changelog, these headings repeat, triggering MD024 violations.
Component
Scripts
Bug Description
The release-please generated CHANGELOG.md fails the Markdown Lint CI check due to MD024 (no-duplicate-heading) violations.
Release-please generates changelog entries with section headings like
### ✨ Features,### 🐛 Bug Fixes, and### 🔧 Maintenancefor each version. When multiple versions exist in the changelog, these headings repeat, triggering MD024 violations.PR #212 fails with:
Expected Behavior
CHANGELOG.md should pass markdown lint checks. Duplicate section headings across different version entries are expected and valid for changelog files.
Steps to Reproduce
npx markdownlint-cli2 CHANGELOG.mdlocally to see MD024 errorsAdditional Context
The current
.markdownlint.jsonhas strict MD024 config:Proposed fix: Add
MD024to the existing disable directive in CHANGELOG.md:<!-- markdownlint-disable MD012 MD024 -->This targets the exception to CHANGELOG.md specifically while maintaining the strict global rule.