Skip to content

Pin setup-zig GitHub Action to immutable SHA#14858

Merged
bolinfest merged 3 commits intomainfrom
codex/fix-unpinned-mlugg/setup-zig-action
Mar 18, 2026
Merged

Pin setup-zig GitHub Action to immutable SHA#14858
bolinfest merged 3 commits intomainfrom
codex/fix-unpinned-mlugg/setup-zig-action

Conversation

@viyatb-oai
Copy link
Collaborator

@viyatb-oai viyatb-oai commented Mar 16, 2026

Motivation

  • Pinning the action to an immutable commit SHA reduces the risk of arbitrary code execution in runners with repository access and secrets.

Description

  • Replaced uses: mlugg/setup-zig@v2 with uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2 in three workflow files.
  • Updated the following files: .github/workflows/rust-ci.yml, .github/workflows/rust-release.yml, and .github/workflows/shell-tool-mcp.yml to reference the immutable SHA while preserving the original v2 intent in a trailing comment.

Testing

  • No automated tests were run because this is a workflow-only change and does not affect repository source code, so CI validation will occur on the next workflow execution.

Codex Task

@viyatb-oai viyatb-oai added codex Label used by connector to tag PRs that have been reviewed by Codex aardvark labels Mar 16, 2026 — with ChatGPT Codex Connector
@viyatb-oai viyatb-oai requested a review from bolinfest March 17, 2026 02:21
@bolinfest bolinfest merged commit a361303 into main Mar 18, 2026
32 checks passed
@bolinfest bolinfest deleted the codex/fix-unpinned-mlugg/setup-zig-action branch March 18, 2026 05:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

aardvark codex Label used by connector to tag PRs that have been reviewed by Codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants