You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2021/04/10 08:53:07 UTC
[arrow] branch master updated: ARROW-12327: [Dev] Use pull
request's head remote when submitting crossbow jobs via the comment bot
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new e20a8b2 ARROW-12327: [Dev] Use pull request's head remote when submitting crossbow jobs via the comment bot
e20a8b2 is described below
commit e20a8b239542c9b13c249bfeb85c84b8e21febe5
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Sat Apr 10 10:51:28 2021 +0200
ARROW-12327: [Dev] Use pull request's head remote when submitting crossbow jobs via the comment bot
Closes #9978 from kszucs/crossbow-remote
Authored-by: Krisztián Szűcs <sz...@gmail.com>
Signed-off-by: Krisztián Szűcs <sz...@gmail.com>
---
dev/archery/archery/bot.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev/archery/archery/bot.py b/dev/archery/archery/bot.py
index 35b69a6..27cf247 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])