From df7b61788103456b100f50320be21b255167cf48 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 15 Mar 2019 10:23:43 -0600 Subject: [PATCH] Fix downstream branch fetching We should be giving the PR the best possible chance at passing the build. --- scripts/fetch-develop.deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/fetch-develop.deps.sh b/scripts/fetch-develop.deps.sh index 5c9c7848..d824be95 100755 --- a/scripts/fetch-develop.deps.sh +++ b/scripts/fetch-develop.deps.sh @@ -42,6 +42,7 @@ function dodep() { # Use the default branch as the last resort. if [[ "$BUILDKITE" == true ]]; then clone $org $repo $BUILDKITE_BRANCH || + clone $org $repo $BUILDKITE_PULL_REQUEST_BASE_BRANCH || clone $org $repo $defbranch || return $? else