diff --git a/dev/archery/archery/bot.py b/dev/archery/archery/bot.py index 35b69a68ccaa9..27cf2470907b4 100644 --- a/dev/archery/archery/bot.py +++ b/dev/archery/archery/bot.py @@ -240,7 +240,8 @@ def submit(obj, tasks, groups, params, arrow_version): # initialize the crossbow build's target repository target = Target.from_repo(arrow, version=arrow_version, - remote=pull_request.base.repo.clone_url) + remote=pull_request.head.repo.clone_url, + branch=pull_request.head.ref) # parse additional job parameters params = dict([p.split("=") for p in params])