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
This commit is contained in:
Bjørn Erik Pedersen committed 2026-08-29 17:50:33 +02:00
1 parent a606e97c1b
commit e09fcd0f5c
1 file changed
+3
+3
View File
@@ -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: |