Skip to content

fix: pin all GitHub Actions to commit SHAs - #3186

Merged
gtrivedi88 merged 1 commit into
eclipse-che:mainfrom
gtrivedi88:fix/pin-github-actions-to-shas
Sep 2, 2026
Merged

fix: pin all GitHub Actions to commit SHAs#3186
gtrivedi88 merged 1 commit into
eclipse-che:mainfrom
gtrivedi88:fix/pin-github-actions-to-shas

Conversation

@gtrivedi88

Copy link
Copy Markdown
Contributor

Summary

Pin every GitHub Actions reference to an immutable commit SHA to mitigate supply chain attacks like the tj-actions/changed-files compromise (CVE-2025-30066).

Before: All action references used mutable version tags (@v3, @v4) or branch names (@main, @master, @reviewdog), which can be retroactively modified by attackers.

After: Every uses: line references a specific commit SHA with a version comment for readability:

# Before
uses: actions/checkout@v3

# After
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4

Changes across 9 workflow files (26 action references):

Action Old ref New pinned ref
actions/checkout @v3 SHA # v4
actions/cache @v3 SHA # v4
actions/upload-artifact @v4 SHA # v4
actions/setup-python @v4 SHA # v5
docker/setup-qemu-action @v2 SHA # v3
docker/setup-buildx-action @v2 SHA # v3
docker/login-action @v2 SHA # v3
marocchino/sticky-pull-request-comment @v2 SHA # v2
dawidd6/action-download-artifact @v2 SHA # v9
netlify/actions/cli @master SHA # master
errata-ai/vale-action @reviewdog SHA # reviewdog
redhat-actions/try-in-web-ide @main SHA # main

Existing Dependabot configuration will manage future SHA updates automatically.

Ref: https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/273

Test plan

  • CI workflows pass on this PR
  • Verify Dependabot can process SHA-pinned action references

Made with Cursor

Mitigate supply chain attacks (CVE-2025-30066) by pinning every
action reference to an immutable commit SHA instead of mutable
version tags or branch names.

Ref: https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/273
Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

🎊 Navigate the preview: https://6a97db4d5e5071aaed45880d--eclipse-che-docs-pr.netlify.app 🎊

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Click here to review and test in web IDE: Contribute

@gtrivedi88
gtrivedi88 merged commit 1ddff0b into eclipse-che:main Sep 2, 2026
6 checks passed
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.

2 participants