Skip to content

Apache DataFusion SQL Query Engine

ARROW-10063: [Archery][CI] Fetch main branch in archery build only when it is a pull request

Krisztián Szűcsfa4a126e027d
diff --git a/.github/workflows/archery.yml b/.github/workflows/archery.yml
index 32d48272b8..b230bce82e 100644
--- a/.github/workflows/archery.yml
+++ b/.github/workflows/archery.yml
@@ -43,6 +43,7 @@ jobs:
with:
fetch-depth: 0
- name: Git Fixup
+ if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: git branch master origin/master
- name: Free Up Disk Space