ci: fetch parent for patch validation
Memind CI / Test, build, and release guards (push) Failing after 1m10s

This commit is contained in:
john
2026-07-16 21:32:21 +08:00
parent 475328830a
commit e7d5c09e56
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
run: |
git init .
git remote add origin https://git.tkmind.cn/tkmind/memind.git
git fetch --depth=1 origin "${{ gitea.sha }}"
git fetch --depth=2 origin "${{ gitea.sha }}"
git checkout --detach FETCH_HEAD
test "$(git rev-parse HEAD)" = "${{ gitea.sha }}"