From f73f95c4f0a73d3968e38db6263baaa21a1cc0a3 Mon Sep 17 00:00:00 2001 From: Anthony Volk <14987227+anth-volk@users.noreply.github.com> Date: Thu, 15 Oct 2026 01:52:04 +0400 Subject: [PATCH] Skip the generated changelog in the format check towncrier separates releases with two blank lines, which Prettier rejects, so every release commit after the first failed verification. Co-Authored-By: Claude Opus 5.5 --- .prettierignore | 2 ++ changelog.d/changelog-format-check.fixed.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelog.d/changelog-format-check.fixed.md diff --git a/.prettierignore b/.prettierignore index 7bedf88..3ba132e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,5 @@ node_modules bun.lock next-env.d.ts credentials +# towncrier generates the changelog on release; fragments are still checked. +CHANGELOG.md diff --git a/changelog.d/changelog-format-check.fixed.md b/changelog.d/changelog-format-check.fixed.md new file mode 100644 index 0000000..2450e71 --- /dev/null +++ b/changelog.d/changelog-format-check.fixed.md @@ -0,0 +1 @@ +Release commits pass the format check again: Prettier now skips the towncrier-generated `CHANGELOG.md`, whose blank lines between releases it rejected, so 0.2.1 was never tagged or deployed. Changelog fragments are still checked.