Skip to content

Pin all GitHub Actions to full commit SHAs #6244

@antonis

Description

@antonis

Part of the cross-SDK dependency pinning audit — #6239.

Several GitHub Actions in our CI workflows were referenced by mutable version tags (e.g. @v7) instead of full commit SHAs. Mutable tags can be force-pushed upstream, posing a supply chain risk.

Actions to pin:

  • actions/upload-artifact@v7
  • actions/download-artifact@v8
  • actions/github-script@v9
  • actions/setup-java@v5
  • actions/checkout@v6 (one instance in detect-changes.yml)
  • actions/cache@v5
  • ruby/setup-ruby@v1
  • getsentry/release-comment-issues-gh-action@v1
  • getsentry/github-workflows/updater@v3

Fix: Pin each to its current commit SHA with the version tag preserved as a comment. Dependabot (already configured for github-actions) will propose updates when new versions are released.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions