Skip to content

Conversation

@corneliusludmann
Copy link
Contributor

Pin all external GitHub Actions to specific commit SHAs for supply chain security.

Changes

  • actions/cache@v4 → pinned to SHA
  • actions/checkout@v5 → pinned to SHA
  • actions-ecosystem/action-add-labels@v1 → pinned to SHA
  • actions/setup-node@v5 → pinned to SHA
  • cschleiden/actions-linter@v1 → pinned to SHA
  • google-github-actions/[email protected] → pinned to SHA
  • google-github-actions/[email protected] → pinned to SHA
  • slackapi/[email protected] → pinned to SHA

Exceptions

Internal Gitpod workflows (not pinned to SHA):

  • gitpod-io/gce-github-runner/.github/workflows/create-vm.yml@main
  • gitpod-io/gce-github-runner/.github/workflows/delete-vm.yml@main

Related

Pin all external GitHub Actions to specific commit SHAs to prevent
supply chain attacks via malicious tag updates.

Actions pinned:
- actions/cache@v4
- actions/checkout@v5
- actions-ecosystem/action-add-labels@v1
- actions/setup-node@v5
- cschleiden/actions-linter@v1
- google-github-actions/[email protected]
- google-github-actions/[email protected]
- slackapi/[email protected]

Exceptions (internal Gitpod workflows, not pinned):
- gitpod-io/gce-github-runner/.github/workflows/create-vm.yml@main
- gitpod-io/gce-github-runner/.github/workflows/delete-vm.yml@main

Part of PDE-138
Closes PDE-218

Co-authored-by: Ona <[email protected]>
@corneliusludmann corneliusludmann marked this pull request as ready for review December 10, 2025 11:26
@corneliusludmann corneliusludmann requested a review from a team as a code owner December 10, 2025 11:26
@corneliusludmann
Copy link
Contributor Author

Builds are failing.

@kylos101: Is this expected since we still miss secrets?

@geropl
Copy link
Member

geropl commented Dec 10, 2025

@corneliusludmann We need to get rid of gce-github-runner before: https://linear.app/ona-team/issue/PDE-208/get-rid-of-gce-github-runner

This is an example change for gitpod-io/gitpod that does the same: gitpod-io/gitpod#21169

Afterwards we should not need the google-auth anymore. If we still do, then it's for pushing images, and can use a more scoped-down service-account. 👍

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.

3 participants