Skip to content

Pin GitHub Actions to SHA commits for security - #44

Open
lucamartinetti wants to merge 1 commit into
mainfrom
fix/pin-github-actions
Open

Pin GitHub Actions to SHA commits for security#44
lucamartinetti wants to merge 1 commit into
mainfrom
fix/pin-github-actions

Conversation

@lucamartinetti

@lucamartinetti lucamartinetti commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Summary

Pins all third-party GitHub Actions dependencies to specific SHA commits instead of mutable version tags.

Changes

  • actions/checkout@v4 -> b4ffde6 (v4.1.1)
  • superfly/flyctl-actions@master -> ed8efb3
  • dtolnay/rust-toolchain@stable -> 29eef33
  • Swatinem/rust-cache@v2 -> 5cb072d (v2.7.5)
  • actions/setup-node@v4 -> 39370e3 (v4.1.0)
  • actions/upload-artifact@v4 -> 65c4c4a (v4.6.0)

Security Impact

Addresses high-severity issue #1 from CSO audit: Unpinned GitHub Actions can be hijacked if action maintainers compromise their repositories or if tags are moved.

Files Changed

  • .github/workflows/deploy.yml
  • .github/workflows/test.yml

- actions/checkout@v4 → b4ffde6 (v4.1.1)
- superfly/flyctl-actions@master → ed8efb3
- dtolnay/rust-toolchain@stable → 29eef33
- Swatinem/rust-cache@v2 → 5cb072d (v2.7.5)
- actions/setup-node@v4 → 39370e3 (v4.1.0)
- actions/upload-artifact@v4 → 65c4c4a (v4.6.0)

Addresses security issue #1 from CSO audit: Unpinned GitHub Actions dependencies.
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