From a0335c5efc55154916daa5cd87f19f4cb21e72a1 Mon Sep 17 00:00:00 2001 From: soy-chrislo Date: Sat, 11 Jul 2026 12:29:38 -0500 Subject: [PATCH 1/2] test(action): restore malformed fixture broken in 497ab922 __tests__/fixtures/malformed/bad.md is used by test-action.yml to verify the Action correctly fails/reports on malformed markdown. 497ab922 (test: add coverage for fmt command, rule aliases, and JSONC import) added a space after "##" as an incidental side effect of unrelated CLI test coverage work, turning this fixture into valid markdown. The breakage stayed invisible because test-action.yml only triggers on changes to action.yml/scripts/rumdl-action.sh, and no PR has touched those paths since (last green run: 2026-02-14, before 497ab922). Any future PR that does touch those paths would otherwise surface 4 unrelated red jobs (test-args, test-expected-failure, test-combined-informational-with-output, test-output-file-with-violations). Verified against a real rumdl binary: restoring the original 2-line content yields MD018 + 2x MD022 (exit 1), and still exits 1 with the remaining MD022s when --extend-disable MD018 is applied, matching what all 4 affected jobs assert. --- __tests__/fixtures/malformed/bad.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/__tests__/fixtures/malformed/bad.md b/__tests__/fixtures/malformed/bad.md index 4cc621f6..b785c82b 100644 --- a/__tests__/fixtures/malformed/bad.md +++ b/__tests__/fixtures/malformed/bad.md @@ -1,3 +1,2 @@ # Bad markdown - -## No space after hash +##No space after hash From 24fdb6fe9ae201b31cf3b2e878dbf5f9f2e709ca Mon Sep 17 00:00:00 2001 From: soy-chrislo Date: Sat, 11 Jul 2026 16:45:58 -0500 Subject: [PATCH 2/2] ci(test-action): widen paths filter to fixtures and the workflow itself test-action.yml only triggered on changes to action.yml/scripts/rumdl-action.sh, so a change that silently broke __tests__/fixtures/malformed/bad.md sat undetected since April. Add __tests__/fixtures/** and the workflow file itself to the paths filters so this class of breakage triggers CI. --- .github/workflows/test-action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index e88ce199..649d9aee 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -2,9 +2,9 @@ name: Test Action on: push: branches: [main] - paths: ["action.yml", "scripts/rumdl-action.sh"] + paths: ["action.yml", "scripts/rumdl-action.sh", "__tests__/fixtures/**", ".github/workflows/test-action.yml"] pull_request: - paths: ["action.yml", "scripts/rumdl-action.sh"] + paths: ["action.yml", "scripts/rumdl-action.sh", "__tests__/fixtures/**", ".github/workflows/test-action.yml"] workflow_dispatch: concurrency: