From e09fcd0f5c7a2344baf1f8345d6a5fa55a3530e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 29 Aug 2026 17:50:33 +0200 Subject: [PATCH] Fix update workflow There seem to be a bug in Git 2.54.0 leading to "fatal: shallow file has changed since we read it" errors. I have confirmed this fix in a test repo. Fixes #773 --- .github/workflows/update-themes.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-themes.yml b/.github/workflows/update-themes.yml index 4b357b5..9e3a0ee 100644 --- a/.github/workflows/update-themes.yml +++ b/.github/workflows/update-themes.yml @@ -20,6 +20,9 @@ jobs: - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: "^1.27.0" + # Bug in Git 2.54.0 leading to "fatal: shallow file has changed since we read it" errors. + - name: Disable Git Auto-Maintenance + run: git config --global maintenance.auto false - name: Update submodules working-directory: ./cmd/hugothemesitebuilder run: |