Skip to content

Pin GitHub Actions to commit SHAs - #67

Merged
chrisguidry merged 1 commit into
mainfrom
pin-actions
Nov 19, 2026
Merged

chrisguidry merged 1 commit into
mainfrom
pin-actions

Conversation

@chrisguidry

Copy link
Copy Markdown
Owner

A tag such as v7 can be moved to different code, and a commit SHA cannot. Each action is now pinned to the commit of its latest release, with the tag in a trailing comment, and Dependabot's github-actions updates move the SHA and the comment together.

Two pins cross a major version, because neither action publishes a major tag any longer: astral-sh/setup-uv goes from v7 to v10.3.3, and j178/prek-action from v2 to v3.1.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P7t1QdJjgL4TC3sH122f5Z

A tag such as v7 can be moved to different code, and a commit SHA
cannot. Each action is now pinned to the commit of its latest release,
with the tag in a trailing comment, and Dependabot's github-actions
updates move the SHA and the comment together.

Two pins cross a major version, because neither action publishes a
major tag any longer: astral-sh/setup-uv goes from v7 to v10.3.3, and
j178/prek-action from v2 to v3.1.1.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P7t1QdJjgL4TC3sH122f5Z
@chrisguidry
chrisguidry merged commit 403a2d1 into main Nov 19, 2026
11 checks passed
@chrisguidry
chrisguidry deleted the pin-actions branch November 19, 2026 17:46
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.

1 participant