Skip to content

🔒 Pin GitHub Actions to commit SHAs#479

Open
paulinebm wants to merge 3 commits intomainfrom
security/pin-actions-to-sha
Open

🔒 Pin GitHub Actions to commit SHAs#479
paulinebm wants to merge 3 commits intomainfrom
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
python-api-diffusers-cd.yaml actions/checkout v4.1.7 v6.0.2 de0fac2e4500…
python-api-diffusers-cd.yaml rlespinasse/github-slug-action v4.5.0 v4.5.0 797d68864753…
python-api-diffusers-cd.yaml docker/setup-buildx-action v3.6.1 v3.6.1 988b5a028041…
python-api-diffusers-cd.yaml docker/metadata-action v5.5.1 v5.5.1 8e5442c4ef9f…
python-api-diffusers-cd.yaml docker/login-action v3.3.0 v3.3.0 9780b0c442fb…
python-api-diffusers-cd.yaml docker/build-push-action v6.5.0 v6.5.0 5176d81f87c2…
python-api-mindspore-cd.yaml actions/setup-python v4 v4 7f4fc3e22c37…
python-api-mindspore-cd.yaml actions/checkout v2 v6.0.2 de0fac2e4500…
python-api-mindspore-cd.yaml docker/setup-qemu-action v1 v1 27d0a4f181a4…
python-api-mindspore-cd.yaml docker/setup-buildx-action v1 v1 f211e3e9ded2…
python-api-mindspore-cd.yaml huggingface/tailscale-action v1 v1 ee9ee9c497b1…
python-api-adapter-transformers.yaml actions/setup-python v2 v2 e9aba2c848f5…
python-api-adapter-transformers.yaml actions/checkout v2 v6.0.2 de0fac2e4500…
python-api-adapter-transformers.yaml docker/setup-qemu-action v1 v1 27d0a4f181a4…
python-api-adapter-transformers.yaml docker/setup-buildx-action v1 v1 f211e3e9ded2…

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

Closes huggingface/tracking-issues#66

@paulinebm paulinebm marked this pull request as ready for review April 2, 2026 12:23
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