Repository navigation
Pin GitHub Actions to commit SHAs - #2
Merged
Merged
Conversation
The Display/Debug demo printed a tab before escapes were introduced, which read as a mismatch between the source and the output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UkYbwHpY9bywefAyqBSch7
A tag or branch can be moved to new code by whoever controls the action; a commit SHA cannot. The version stays in a comment. dtolnay/rust-toolchain selects the toolchain from its ref, so pinned steps pass it as input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Divhanthelion
changed the base branch from
claude/youthful-pasteur-oguvf3
to
main
October 3, 2026 01:29
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
uses:in the workflows to a full commit SHA, keeping the version as a comment (actions/checkout@<sha> # v4). A tag or branch can be repointed by whoever controls the action (as in the tj-actions/changed-files compromise); a SHA cannot.dtolnay/rust-toolchainpicks the Rust toolchain from the ref name, so pinned steps now passtoolchain:explicitly.Found by a ghaudit sweep (
gha/unpinned-action). Checked: every workflow still parses and every rust-toolchain step has a toolchain input.Retargeted from
claude/youthful-pasteur-oguvf3tomain. That branch is the repository's default and was one commit ahead ofmain, so this PR also bringsmainup to date with it ("Explain the \t escape where lesson 1 first uses it").🤖 Generated with Claude Code