Fix downstream branch fetching
We should be giving the PR the best possible chance at passing the build.
This commit is contained in:
@@ -42,6 +42,7 @@ function dodep() {
|
|||||||
# Use the default branch as the last resort.
|
# Use the default branch as the last resort.
|
||||||
if [[ "$BUILDKITE" == true ]]; then
|
if [[ "$BUILDKITE" == true ]]; then
|
||||||
clone $org $repo $BUILDKITE_BRANCH ||
|
clone $org $repo $BUILDKITE_BRANCH ||
|
||||||
|
clone $org $repo $BUILDKITE_PULL_REQUEST_BASE_BRANCH ||
|
||||||
clone $org $repo $defbranch ||
|
clone $org $repo $defbranch ||
|
||||||
return $?
|
return $?
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user