From 40c1902050eeb10ea5633b4768441fff7dd5f8c5 Mon Sep 17 00:00:00 2001 From: snekxs Date: Fri, 13 Nov 2026 14:14:39 -0600 Subject: [PATCH] ci: accept headed changelog entries in the version-entry test The weekly changelog entry is now grouped under ### New, Improvements and Fixes (#115), so it no longer starts with a bullet. The test that checks the repo's own changelog entry still required "- " and failed on 1.0.1. Co-Authored-By: Claude Sonnet 5.5 --- .github/scripts/make-release-files.test.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/make-release-files.test.mjs b/.github/scripts/make-release-files.test.mjs index 2876b1c..8099fc2 100644 --- a/.github/scripts/make-release-files.test.mjs +++ b/.github/scripts/make-release-files.test.mjs @@ -113,5 +113,6 @@ test("this repository's changelog has an entry for Cargo.toml's version", () => const cargo = readFileSync(path.join(root, "Cargo.toml"), "utf8"); const version = cargo.match(/^version = "(.+)"$/m)[1]; const entry = changelogEntry(readFileSync(path.join(root, "CHANGELOG.md"), "utf8"), version); - assert.ok(entry.startsWith("- ")); + // Entries are bullets, or bullets under `###` headings (New, Improvements, Fixes). + assert.ok(/^(- |### )/.test(entry)); });