zhengruifeng opened a new pull request, #60434:
URL: https://github.com/apache/spark/pull/60434

   ### What changes were proposed in this pull request?
   
   Restrict `create`-triggered cache image builds to `master` and `branch-*` 
branches, and `v*` tags. Keep the existing behavior for scheduled, push, and 
manual runs.
   
   ### Why are the changes needed?
   
   The unrestricted `create` trigger runs when Dependabot creates a branch. The 
workflow uses the branch name directly in Docker tags, where `/` is invalid. 
For example, [this 
run](https://github.com/apache/spark/actions/runs/43337796507/job/131598297846) 
failed all 12 image builds for `dependabot/bundler/docs/addressable-2.9.1`.
   
   The job condition skips these unrelated branch creations while retaining 
image builds for release branches and tags.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - Ran `actionlint` on the modified workflow.
   - Parsed the YAML and checked the condition locally across 128 combinations 
of repository, event, ref type, and ref name, including release refs and 
Dependabot branches.
   - Verified the job condition is the only semantic workflow change and ran 
`git diff --check`.
   
   No committed tests were added for this workflow-only condition change.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI 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]

Reply via email to