From dca1d9f0a059e4649541a1bad1b0355291b9fdb2 Mon Sep 17 00:00:00 2001 From: jv Date: Thu, 17 Sep 2026 23:27:24 -0500 Subject: [PATCH] fix: set fetch-depth 0 to fix git error 128 --- .gitea/workflows/homelab-main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/homelab-main.yml b/.gitea/workflows/homelab-main.yml index a72f66b..71783a1 100644 --- a/.gitea/workflows/homelab-main.yml +++ b/.gitea/workflows/homelab-main.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ gitea.sha }} + fetch-depth: 0 - name: Validate repository run: | set -euo pipefail @@ -31,6 +32,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ gitea.sha }} + fetch-depth: 0 - name: Block automatic deploy for external Gitea changes run: | set -euo pipefail