nchammas opened a new pull request, #57187: URL: https://github.com/apache/spark/pull/57187
### What changes were proposed in this pull request? Extract the widely used checkout-and-sync pattern from various workflows into a reusable composite action. The pattern is used in about 16 different places across 3 workflow files. We first do a normal checkout of the fork so that the latest version of the composite action is available. Using the composite action, we then checkout `apache/spark` and merge the changes as we currently do. There are other opportunities for extracting repeated build patterns. I will pursue them after proving out this refactoring, which perhaps offers the highest ROI since this pattern is the most highly used. ### Why are the changes needed? Having a reusable action will eliminate the need to manually keep so many chunks of build instructions in sync. The "checkout fork, then checkout `apache/spark`" approach introduced here is different from the past attempts made to factor out repeated build steps in #36924 and #56204. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? The CI build associated with this PR will serve as the test. ### Was this patch authored or co-authored using generative AI tooling? I wrote this with assistance from GitHub Copilot. -- 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]
