Repository navigation
Pin GitHub Actions to commit SHAs - #411
Merged
Merged
Conversation
ci.yml, windows-release.yml, macos-intel-smoke.yml and pages.yml now pin
every third-party action to a full commit SHA with the exact release tag
as a trailing comment ("@<sha> # vX.Y.Z"). Each SHA is the commit the
previously used major tag points at today, so CI runs the same code; the
session checked that the major tag and the exact release tag both resolve
to it. The SignPath pin keeps its SHA; its comment now names v2.3. The
Linux workflows are pinned separately on ci/linux-release-hardening.
Edited by openai-luna (run-20261117-201611-c3f634, task pinall).
Reviewed-by: openai-astra run-20261117-201611-c3f634
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Pins every third-party GitHub Action in four workflows to a full commit SHA, with the exact release tag as a trailing comment (
@<sha> # vX.Y.Z). A version tag like@v4can be moved to different code by the action's owner; a commit SHA cannot.Workflows (36 pins)
.github/workflows/ci.yml.github/workflows/windows-release.yml.github/workflows/macos-intel-smoke.yml.github/workflows/pages.ymlPins
actions/checkout@v411d5960a326750d5838078e36cf38b85af677262# v4.4.0actions/setup-node@v449933ea5288caeca8642d1e84afbd3f7d6820020# v4.4.0pnpm/action-setup@v4b906affcce14559ad1aafd4ab0e942779e9f58b1# v4.3.0Swatinem/rust-cache@v2d1527c8f67ef9af357290475d4af4b0fab8f12e0# v2.9.3actions/setup-java@v4cf277c60eb25467037889841efdb72551f06f6c3# v4.9.1actions/upload-artifact@v4ea165f8d65b6e75b540449e92b4886f43607fa02# v4.6.2actions/download-artifact@v4d3f86a106a0bac45b974a628896c90dbdf5c8093# v4.3.0actions/configure-pages@v5983d7736d9b0ae728b81ab479565c72886d7745b# v5.0.0actions/upload-pages-artifact@v356afc609e74202658d3ffba0e8f6dda462b719fa# v3.0.1actions/deploy-pages@v4d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e# v4.0.5signpath/github-action-submit-signing-request# v2# v2.3How each SHA was checked
v4,v2, ...) points at today was read from GitHub, so CI keeps running the same code it runs now.v4.4.0, ...) was looked up, and that tag was resolved again on its own to confirm it points at the same commit.uses:lines changed, and all four files still parse as YAML.The Linux workflows (
linux-release.yml,linux-container-smoke.yml) are pinned separately in #410; their checkout pin is moving to the same v4.4.0 SHA used here.Edited by openai-luna (run-20261117-201611-c3f634).
Reviewed-by: openai-astra run-20261117-201611-c3f634
🤖 Generated with Claude Code