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
{{ message }}
Repository navigation
ci: reconcile CHANGELOG bullet style between release-please and pymarkdown #49
Release-please emits `-` (dash) list markers in generated CHANGELOG entries. The project's `pymarkdown` pre-commit hook (running in fix mode, `.pymarkdown` uses default `md004.style`) normalizes bullets to `*` (asterisk) to match existing historical entries. Result: every Release PR triggers a 100+ line pymarkdown auto-fix diff, which the pre-commit hook flags as a CI failure.
First surfaced on PR #48 (2.1.1 release). Worked around by committing the pymarkdown fix directly to the release-please branch, but that will recur on every subsequent release.
Root cause
Release-please's changelog template uses `-` bullets and offers no built-in toggle to change this.
Pymarkdown `md004` in `.pymarkdown` has no explicit `style` config, so it defaults to `consistent` / `asterisk` depending on file content.
Pre-commit hook runs with `args: ["fix"]` → auto-modifies files → reports failure when changes are made.
Fix options
Canonicalize to `-` everywhere (preferred — aligns with release-please output):
Mass-rewrite `CHANGELOG.md` from `*` to `-`
Set `.pymarkdown` → `plugins.md004.style: "dash"`
No more per-release churn
Canonicalize to `*` everywhere: release-please output still writes `-` → pymarkdown still rewrites → CI still fails. Doesn't work unless we also change pre-commit to `scan` mode (option 3).
Switch pre-commit from `fix` to `scan`: reports issues but doesn't modify files. Broader impact — affects all markdown lint behavior, not just CHANGELOG.
Activity
style: normalize CHANGELOG bullets to asterisk for CI
chore(main): release 2.1.1 (#48)