zhengruifeng opened a new pull request, #57841: URL: https://github.com/apache/spark/pull/57841
### What changes were proposed in this pull request? Apply the commit-count gating pattern from #57555 to the branch-4.x copy of .github/workflows/build_main.yml. The workflow checks out the full pushed branch history and counts its commits. Builds on forks continue to run for every push, while post-merge Build runs on apache/spark run when the commit count is divisible by ten. ### Why are the changes needed? Post-merge Build runs on branch-4.x are currently disabled completely to save CI resources. Running the workflow every ten commits restores periodic validation while retaining most of those resource savings. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Ran git diff --check and reviewed the workflow diff against the pattern in #57555. No runtime tests were run because this change modifies only GitHub Actions orchestration. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: OpenAI Codex (GPT-5) -- 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]
