Skip to content

[security] Pin workflow container images and document dynamic selection - #8684

Merged
ScottTodd merged 1 commit into
mainfrom
users/scotttodd/zizmor-container-image-followups
Oct 2, 2026
Merged

ScottTodd merged 1 commit into
mainfrom
users/scotttodd/zizmor-container-image-followups

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

Motivation

This resolves or suppresses more https://docs.zizmor.sh/audits/#unpinned-images audit findings.

Technical Details

Test Plan

Most of these workflows will run on CI. The .github/workflows/multi_arch_build_tarballs.yml workflow is release-only but the floating->fixed change should be sufficiently tested by other jobs.

Submission Checklist

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
@therock-pr-bot

therock-pr-bot Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

therock-pr-bot Bot commented Oct 1, 2026

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@nunnikri nunnikri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ScottTodd for the change

@ScottTodd
ScottTodd merged commit 7758c25 into main Oct 2, 2026
17 of 18 checks passed
@ScottTodd
ScottTodd deleted the users/scotttodd/zizmor-container-image-followups branch October 2, 2026 14:51
lsudarsh-amd added a commit that referenced this pull request Oct 6, 2026
…tage

- Suppress unpinned-images on the stage job's image, same as #8684.
- Give the stage job its own id-token: write. #8637 moved it off the
  workflow level, so the job would lose AWS access once main is merged.
- Fix the inspector docstring: unit tests pin the rc filename, not the
  build step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants