fix: set fetch-depth 0 to fix git error 128
Homelab Main / validate (push) Failing after 42s Details
Homelab Main / deploy (push) Has been skipped Details

This commit is contained in:
jv 2026-09-17 23:27:24 -05:00
parent 02f74ce659
commit dca1d9f0a0
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ gitea.sha }} ref: ${{ gitea.sha }}
fetch-depth: 0
- name: Validate repository - name: Validate repository
run: | run: |
set -euo pipefail set -euo pipefail
@ -31,6 +32,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ gitea.sha }} ref: ${{ gitea.sha }}
fetch-depth: 0
- name: Block automatic deploy for external Gitea changes - name: Block automatic deploy for external Gitea changes
run: | run: |
set -euo pipefail set -euo pipefail