From 1569fd9213d943dbc444d61569c2c1f51b086474 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 19 Jul 2026 16:16:49 +0100 Subject: [PATCH] ci(prettier): ignore package-lock.json package-lock.json is machine-generated by npm; Prettier reformatting it conflicts with npm's own output and causes the Prettier auto-commit workflow to try (and fail) to push lockfile churn to protected develop. Ignoring it lets the workflow find nothing to change and pass. --- .prettierignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.prettierignore b/.prettierignore index 7b065e422..ed5b8552f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,7 @@ # Prettier auto-commit runs with GITHUB_TOKEN (GitHub App). # GitHub blocks that token from creating/updating anything under .github/workflows. .github/workflows/** + +# Machine-generated by npm; its format is owned by npm, not Prettier. +# Prettier reformatting it fights npm and makes the auto-commit run fail. +package-lock.json