ci: fetch parent for patch validation
Memind CI / Test, build, and release guards (push) Failing after 1m10s
Memind CI / Test, build, and release guards (push) Failing after 1m10s
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user