Skip to content

🔒 Pin GitHub Actions to commit SHAs#149

Open
paulinebm wants to merge 1 commit into
masterfrom
security/pin-actions-to-sha
Open

🔒 Pin GitHub Actions to commit SHAs#149
paulinebm wants to merge 1 commit into
masterfrom
security/pin-actions-to-sha

Conversation

@paulinebm
Copy link
Copy Markdown

🔒 Pin GitHub Actions to commit SHAs

This PR pins all GitHub Actions to their exact commit SHA instead of mutable tags or branch names.

Why?
Pinning to a SHA prevents supply chain attacks where a tag (e.g. v4) could be moved to point to malicious code.

Changes

Workflow Action Avant Après SHA
release.yml actions/checkout v4 v6.0.2 de0fac2e4500…
release.yml actions/setup-node v4 v4 49933ea5288c…
release.yml actions/upload-artifact v4 v4 ea165f8d65b6…
release.yml actions/checkout v4 v6.0.2 de0fac2e4500…
release.yml actions/setup-node v4 v4 49933ea5288c…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…
release.yml actions/download-artifact v4 v4 d3f86a106a0b…

🤖 Generated by /github-actions-audit — [security/pin-actions-to-sha]

Closes huggingface/tracking-issues#169

@paulinebm paulinebm marked this pull request as ready for review April 2, 2026 12:21
@paulinebm paulinebm enabled auto-merge (squash) April 2, 2026 14:04
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