derrickaw opened a new pull request, #41585:
URL: https://github.com/apache/beam/pull/41585

   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:
   
   - The PR remediates confirmed, live Code Scanning finding(s) (`CodeQL` / 
`zizmor`) on `master` without altering intended public API or workflow semantics
   - The fix is minimal, idiomatic, and avoids suppressing alerts or masking 
underlying defects
   - Relevant unit tests, linters, and CI checks have been verified
   
   If 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
   Remediates all 27 open `zizmor` Code Scanning alerts (`#103`–`#129`: 25 
`zizmor/template-injection` and 2 `zizmor/github-env`) in 
`.github/actions/dind-up-action/action.yml`:
   
   - Pass composite action `inputs.*` and `steps.*.outputs.*` values through 
step-level `env:` blocks instead of interpolating `${{ ... }}` expressions 
directly inside `bash` `run:` scripts (`Start docker:dind`, `Wait for DinD 
daemon`, `set-output`, `Cleanup DinD Environment`, `Discover DinD Container 
IP`, and `Export Environment Variables`).
   - Pass generated `storage_volume` and `execroot_volume` names between 
`start-dind` and `set-output` via `$GITHUB_OUTPUT` rather than job-wide 
`$GITHUB_ENV`, and validate newline-free values before writing `DOCKER_HOST` 
and `DIND_IP` to `$GITHUB_ENV` when `export-gh-env == 'true'`.
   
   ### Verification
   - `zizmor --persona=pedantic .github/actions/dind-up-action/action.yml` (`0` 
findings, down from `27`)
   - `bash -n` across all composite action `run:` blocks
   - `./gradlew :beam-test-gha:preCommit`
   


-- 
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]

Reply via email to