ci: unshallow for PR testing [skip ci]

This commit is contained in:
Baptiste Augrain 2023-12-17 19:15:12 +01:00
parent 508642510a
commit 24aafd81b9

View File

@ -11,6 +11,7 @@ fi
if [[ -n "${PULL_REQUEST_ID}" ]]; then
BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD )
git fetch --unshallow
git fetch origin "pull/${PULL_REQUEST_ID}/head"
git checkout FETCH_HEAD
git merge --no-edit "origin/${BRANCH_NAME}"