Skip to content

chore(ci): pin actions/checkout to commit SHA - #362

Merged
NandanPrabhu merged 1 commit into
masterfrom
chore/pin-github-actions
Oct 14, 2026
Merged

NandanPrabhu merged 1 commit into
masterfrom
chore/pin-github-actions

Conversation

@NandanPrabhu

@NandanPrabhu NandanPrabhu commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor
  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

Pins actions/checkout to the commit SHA of v7.0.1 (3d3c42e5aac5ba805825da76410c181273ba90b1) in all four jobs of .github/workflows/main.yml. The floating v7 tag was the only action reference in the repo that wasn't pinned. codecov/codecov-action, ruby/setup-ruby and mxcl/xcodebuild already use SHAs, and the pin comment follows their # pin@<version> format.

A tag can be moved after the fact, while a SHA cannot, so this protects the workflows from a compromised or retagged release. The resolved version is unchanged, since v7 and v7.0.1 point at the same commit.

Co-Authored-By: Claude <noreply@anthropic.com>
@NandanPrabhu
NandanPrabhu marked this pull request as ready for review October 13, 2026 17:05
@NandanPrabhu
NandanPrabhu requested a review from a team as a code owner October 13, 2026 17:05
@NandanPrabhu
NandanPrabhu merged commit 011b301 into master Oct 14, 2026
13 checks passed
@NandanPrabhu
NandanPrabhu deleted the chore/pin-github-actions branch October 14, 2026 05:47

This branch was successfully deployed

1 active deployment
internal — 1bd977b0 Deployed Oct 13, 2026 by NandanPrabhu via Test on iOS using Xcode 26.6 #281
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants