diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml index fc939693c369c..dbcbbff54953c 100644 --- a/.github/workflows/comment_bot.yml +++ b/.github/workflows/comment_bot.yml @@ -51,7 +51,7 @@ jobs: ARROW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }} run: | - archery trigger-bot \ + archery --debug trigger-bot \ --event-name ${{ github.event_name }} \ --event-payload ${{ github.event_path }} diff --git a/dev/archery/archery/bot.py b/dev/archery/archery/bot.py index caab824aeb38f..ca32da9319842 100644 --- a/dev/archery/archery/bot.py +++ b/dev/archery/archery/bot.py @@ -349,7 +349,7 @@ def _clone_arrow_and_crossbow(dest, crossbow_repo, arrow_repo_url, # submitted from a fork's main branch (GH-39996) git.clone('--bare', arrow_repo_url, str(bare_arrow_path)) # fetch the PR's branch into the bare clone - git.fetch('origin', pr_ref, git_dir=bare_arrow_path) + git.fetch('--fetch', 'origin', pr_ref, git_dir=bare_arrow_path) # clone and checkout the PR's branch into a full local repo git.clone(f'--branch={pr_branch}', bare_arrow_path, arrow_path)