From f7e5570df8a54c50dfaf8887a3f64e20f456acef Mon Sep 17 00:00:00 2001 From: Claudio Wunder Date: Wed, 9 Sep 2026 14:40:59 +0200 Subject: [PATCH] meta: exclude .github/ from Prettier formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prettier reformats workflow YAML files on every format run (e.g. normalising double-quoted cron strings to single-quoted). The update-links workflow then runs `node --run format` before committing changes, so git-auto-commit-action would try to push a workflow-file diff — which GitHub rejects unless the token has `workflows` write permission. Excluding `.github/` from Prettier stops the nightly run from producing spurious workflow file modifications. Refs #1020 Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01LXvbysVPDnes541gBuD1ia --- .prettierignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierignore b/.prettierignore index cfb9e4c1..49ede981 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ node_modules/ dist/ src/templates/*.out.json +.github/