Skip to content

fix: pin GitHub Actions to commit SHAs in publication-builder - #3187

Merged
gtrivedi88 merged 1 commit into
eclipse-che:publication-builderfrom
gtrivedi88:fix/pin-publication-builder-actions
Sep 2, 2026
Merged

fix: pin GitHub Actions to commit SHAs in publication-builder#3187
gtrivedi88 merged 1 commit into
eclipse-che:publication-builderfrom
gtrivedi88:fix/pin-publication-builder-actions

Conversation

@gtrivedi88

Copy link
Copy Markdown
Contributor

Summary

Pin the 3 GitHub Actions references in publication-builder.yaml to immutable commit SHAs. This is a companion to #3186 (which covers the main branch).

This workflow is higher-risk because it uses CHE_BOT_GITHUB_TOKEN (a long-lived bot token with repo write access).

Action Old ref New pinned ref
actions/checkout @v3 SHA # v4
actions/cache @v3 SHA # v4
peaceiris/actions-gh-pages @v3 SHA # v3

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

Test plan

  • Publication builder workflow runs successfully after merge

Made with Cursor

Mitigate supply chain attacks (CVE-2025-30066) by pinning every
action reference to an immutable commit SHA. This workflow uses
CHE_BOT_GITHUB_TOKEN, making it a higher-risk target.

Ref: https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/273
Co-authored-by: Cursor <cursoragent@cursor.com>
@gtrivedi88
gtrivedi88 requested review from a team and deerskindoll as code owners September 2, 2026 08:12
@gtrivedi88
gtrivedi88 requested review from svor and removed request for a team September 2, 2026 08:12
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚡️ Deploying pull request preview...

@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 81b9128 into eclipse-che:publication-builder Sep 2, 2026
4 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