diff --git a/.github/workflows/build_main.yml b/.github/workflows/build_main.yml index e8f7054b2c32f..bdc7c21173bbc 100644 --- a/.github/workflows/build_main.yml +++ b/.github/workflows/build_main.yml @@ -29,12 +29,9 @@ 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. + # Skip 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') + github.repository == 'apache/spark' + || github.ref != 'refs/heads/master' uses: ./.github/workflows/build_and_test.yml