Skip to content

security: pin GitHub Actions references to commit SHAs#3

Open
pavlovic-ivan wants to merge 1 commit into
mainfrom
security/pin-action-shas
Open

security: pin GitHub Actions references to commit SHAs#3
pavlovic-ivan wants to merge 1 commit into
mainfrom
security/pin-action-shas

Conversation

@pavlovic-ivan

Copy link
Copy Markdown

Summary

Pins all GitHub Actions references in this repo to 40-character commit SHAs, replacing tag and branch references. This is a supply-chain hardening change with no expected functional impact — every SHA was resolved from its current tag/branch at audit time (2026-05-27).

Why

Tag-pinned actions can be silently compromised if the upstream tag is rotated to a malicious commit. Branch-pinned actions (e.g. @main, @release/v1, @stable) are even riskier — anyone with push access upstream can change what runs in CI.

GitHub's own recommendation: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Notes

  • Branch-pinned refs (@main, @release/v1, @stable) were resolved to the branch HEAD at audit time — re-verify before merge if the upstream branch has moved since.
  • Part of an org-wide audit covering 26 G-Research repos. The full pinning plan and resolved SHAs are tracked in a local audit project.
  • No functional change is expected; CI should pass identically.

Pin all uses: references to 40-char commit SHAs to harden against
supply-chain attacks via tag/branch rotation.
@netlify

netlify Bot commented May 27, 2026

Copy link
Copy Markdown

Deploy Preview for mlops-studio ready!

Name Link
🔨 Latest commit 97dcec9
🔍 Latest deploy log https://app.netlify.com/projects/mlops-studio/deploys/6a16e3865d846a0008429f19
😎 Deploy Preview https://deploy-preview-3--mlops-studio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pavlovic-ivan pavlovic-ivan marked this pull request as draft May 27, 2026 12:36
@pavlovic-ivan pavlovic-ivan marked this pull request as ready for review May 27, 2026 13:54
@pavlovic-ivan pavlovic-ivan requested a review from stackedsax May 27, 2026 14:37
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