zhengruifeng opened a new pull request, #60202: URL: https://github.com/apache/spark/pull/60202
### What changes were proposed in this pull request? Remove the commit-count sampling job and its downstream build gate from `branch-4.x`'s `.github/workflows/build_main.yml`. This completes the workflow-side cleanup for [SPARK-61016](https://issues.apache.org/jira/browse/SPARK-61016) after #60177 moved sampling into the merge script on `master`. The merge script already handles both `master` merges and `branch-4.x` backports. This PR changes only the `branch-4.x` workflow. ### Why are the changes needed? Keeping the old gate on `branch-4.x` duplicates the merge script's policy and still starts a sampling job for pushes without a skip directive. Removing it makes the merge script the single place to control sampling for both branches. Unskipped pushes run the existing build directly; sampled-out pushes use GitHub's workflow-skip commit trailer. ### Does this PR introduce _any_ user-facing change? No. This changes CI scheduling only. ### How was this patch tested? - `actionlint` v1.7.11 passed for `.github/workflows/build_main.yml`. - Parsed the before/after YAML in `spark-dev-313` and verified that the push trigger, build permissions, and reusable workflow are preserved, with only the sampling job and dependent gate removed. - `git diff --check` passed. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
