From 5fe9a393cf69743b9170f1353930caf76e482a0e Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Sun, 16 Aug 2026 12:12:35 -0400 Subject: [PATCH] =?UTF-8?q?fix(ci):=20quarterly-doc-audit=20hardening=20?= =?UTF-8?q?=E2=80=94=20defensive=20lfs=20filter=20disable=20+=20drop=20unm?= =?UTF-8?q?atched=20mdx=20pathspec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consistent with the same investigation/fix applied to admin/web/plugins: 1. Disable git-lfs filters right after Checkout (defensive; cli currently has one candidate LFS-filtered file — vendor/.../chroma.jpg — that doesn't presently trip this, but keeps this repo consistent with the others in case that changes). 2. Drop the unmatched **/*.mdx pathspec from add-paths — this repo has zero .mdx files (confirmed via a full-tree grep), so any run where the audit actually finds+fixes .md issues would hit the same 'pathspec did not match any files' fatal error that broke plugins' Open-auto-fix-PR step (see plugins #31). Currently latent here since cli's last audit run was clean (no .md changes to stage), but the bug is real and would trip the moment findings appear. --- .github/workflows/quarterly-doc-audit.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quarterly-doc-audit.yml b/.github/workflows/quarterly-doc-audit.yml index 8135db891..9faf1c6a8 100644 --- a/.github/workflows/quarterly-doc-audit.yml +++ b/.github/workflows/quarterly-doc-audit.yml @@ -25,6 +25,14 @@ jobs: with: fetch-depth: 1 + - name: Disable git-lfs filters + # See admin/web workflow for the full rationale: any file under this repo's + # filter=lfs .gitattributes patterns that was committed as raw (non-pointer) + # content will otherwise show as spuriously "modified" to git, which can trip + # peter-evans/create-pull-request's internal git stash/checkout dance in the + # next Open-auto-fix-PR step. Harmless no-op if nothing is affected. + run: git lfs uninstall --local || true + - name: Set up Go uses: actions/setup-go@v5 with: @@ -101,7 +109,6 @@ jobs: delete-branch: true add-paths: | **/*.md - **/*.mdx .claude/qa/findings/*.json - name: Upload JSON report