Repository navigation
[security] Pin workflow container images and document dynamic selection - #8684
Merged
Merged
Conversation
Pin Python and native Linux package build images. Document the image selector's responsibility at its workflow consumer and track centralization of floating script references. Validation: pre-commit checks passed; changed workflows have no unpinned-images findings in the pedantic offline zizmor scan. Generated with Codex
ScottTodd
requested review from
arvindcheru,
nunnikri and
raramakr
as code owners
October 1, 2026 19:42
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
1 task done
nunnikri
approved these changes
Oct 2, 2026
nunnikri
left a comment
Contributor
There was a problem hiding this comment.
Thanks @ScottTodd for the change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This resolves or suppresses more https://docs.zizmor.sh/audits/#unpinned-images audit findings.
Technical Details
TheRock/.github/workflows/test_pytorch_wheels.yml
Lines 111 to 117 in 5f2f00e
python:3.12-slimto the current latest index digest from https://hub.docker.com/layers/library/python/3.12-slim/images/build_tools/packaging/linux/get_url_repo_params.pydecides which image to use in.github/workflows/test_native_linux_packages_install.yml. The images are currently floating references, but Add docker_images.json as a single source of truth for Docker image references #7683 may change that.Test Plan
Most of these workflows will run on CI. The
.github/workflows/multi_arch_build_tarballs.ymlworkflow is release-only but the floating->fixed change should be sufficiently tested by other jobs.Submission Checklist