Repository navigation
Conversation
|
/gemini review |
There was a problem hiding this comment.
📋 Review Summary
This PR cleanly remediates template injection findings in .github/actions/build-push-docker-action/action.yml by passing composite action inputs through step-level env variables and properly quoting shell expansions. The changes are minimal, idiomatic, and preserve the existing workflow behavior.
🔍 General Feedback
- All four
inputs.*references in theBuild and Push Docker Imagestep (image_name,image_tag,dockerfile_path, andbuild_context) are properly bound to environment variables and double-quoted in the bash script, including$GITHUB_OUTPUT.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
|
Assigning reviewers: R: @tvalentyn added as fallback since no labels match configuration Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Note: this PR was auto-generated by tooling. Before moving it out of draft, the author has done a full review of the PR, specifically evaluating it on the following criteria:
CodeQL/zizmor) onmasterwithout altering intended public API or workflow semanticsIf you have concerns with the PR or with the underlying methodology used to generate this, please comment below - they will be addressed by the author not the tooling :)
Summary
zizmor/template-injection(High / error, alerts#99,#100,#101,#102) findings in.github/actions/build-push-docker-action/action.yml.inputs.image_name,inputs.image_tag,inputs.dockerfile_path, andinputs.build_contextthrough stepenv:variables and quotes shell expansions rather than interpolating${{ inputs.* }}directly into thebashscript.Verification
codescan/gha-build-push-docker-env(beam_Inference_Python_Benchmarks_Dataflow.yml, the sole caller ofbuild-push-docker-action): https://github.com/apache/beam/actions/runs/45211019836/job/137993437467 — stepBuild VLLM Development Imagecompleted withsuccess(downstream multi-hour GPU Dataflow benchmark steps subsequently cancelled after verifying the composite action build + Artifact Registry push)../gradlew :beam-test-gha:preCommitzizmor(0findings)