Skip to content

Pin GitHub Actions to full commit hashes - #21921

Merged
JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:alex/pin-github-actions
Sep 1, 2026
Merged

Pin GitHub Actions to full commit hashes#21921
JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:alex/pin-github-actions

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

Pin the remaining GitHub Actions references to full commit SHAs to improve CI security. This prevents a moved or compromised upstream tag from silently changing the action code executed by our workflows.

Each pin uses the commit currently referenced by the existing tag, with the version retained in a comment.

@AlexWaygood
AlexWaygood marked this pull request as ready for review September 1, 2026 11:40
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JelleZijlstra
JelleZijlstra merged commit 8c1880f into python:master Sep 1, 2026
25 checks passed
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