Skip to content

Commit

Permalink
ci: unshallow for PR testing [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Dec 17, 2023
1 parent 5086425 commit 24aafd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions get_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 24aafd8

Please sign in to comment.