diff --git a/.github/workflows/build_main.yml b/.github/workflows/build_main.yml index e8f7054b2c32f..5e40368a08e00 100644 --- a/.github/workflows/build_main.yml +++ b/.github/workflows/build_main.yml @@ -29,12 +29,7 @@ jobs: permissions: packages: write name: Run - # Skip: - # - pushes to `branch-4.x` on apache/spark: post-merge CI on this - # integration/staging branch is disabled to save resources. - # - pushes to `master` on forks: the "Sync fork" button mirrors - # apache/spark and would otherwise re-run the full build on every sync. - if: >- - (github.repository == 'apache/spark' && github.ref != 'refs/heads/branch-4.x') - || (github.repository != 'apache/spark' && github.ref != 'refs/heads/master') + # Skip pushes on apache/spark: post-merge CI on this integration/staging + # branch is disabled to save resources. + if: github.repository != 'apache/spark' uses: ./.github/workflows/build_and_test.yml