Skip to content

Pin GitHub Actions to Node 24 v7 releases - #4659

Merged
Fionoble merged 3 commits into
2026-10-rcfrom
fio/node24-github-actions
Aug 28, 2026
Merged

Pin GitHub Actions to Node 24 v7 releases#4659
Fionoble merged 3 commits into
2026-10-rcfrom
fio/node24-github-actions

Conversation

@Fionoble

@Fionoble Fionoble commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Upgrade every actions/checkout usage from v3/v4 to v7.0.0, pinned to immutable commit 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0.
  • Upgrade actions/setup-node from v4 to v7.0.0, pinned to immutable commit 820762786026740c76f36085b0efc47a31fe5020.

Both selected releases run natively on Node 24.

Why

GitHub now runs JavaScript actions on Node 24 by default as part of the Node 20 deprecation. The 2026-10-rc release workflow still uses actions/checkout@v3; after the runner migration, checkout configures credentials but its authenticated fetch fails.

This blocked @shopify/ui-extensions@2026.10.0-rc.8 from publishing even after the Version Packages PR merged. The failed workflow is https://github.com/Shopify/ui-extensions/actions/runs/33114738095.

Validation

  • yarn lint
  • Prettier check across .github/workflows/**/*.{yml,yaml}
  • Verified the pinned v7.0.0 action.yml files declare runs.using: node24

Assisted-By: devx/51da43b4-7970-4354-82a7-7bffdd9dd987
@Fionoble
Fionoble requested a review from a team August 28, 2026 00:01

@andrewiggins andrewiggins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are here, do you want to update these to use sha pinned versions, for example

uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

Comment thread .github/workflows/changesets-reminder.yml Outdated
Comment thread .github/workflows/actions/prepare/action.yml Outdated
Assisted-By: devx/51da43b4-7970-4354-82a7-7bffdd9dd987
@Fionoble

Copy link
Copy Markdown
Contributor Author

Also addressed the review-level suggestion: both actions are now pinned to immutable v7.0.0 commit SHAs across every workflow.

@Fionoble Fionoble changed the title Upgrade GitHub Actions to Node 24 runtimes Pin GitHub Actions to Node 24 v7 releases Aug 28, 2026
Assisted-By: devx/51da43b4-7970-4354-82a7-7bffdd9dd987
@Fionoble

Copy link
Copy Markdown
Contributor Author

v7 follow-up is green now. checkout@v7 worked directly; setup-node@v7 needed an explicit empty NODE_AUTH_TOKEN because v7 removed its dummy export and Yarn 1 reads the generated registry config during cache lookup.

@andrewiggins andrewiggins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Fionoble
Fionoble merged commit 8acd748 into 2026-10-rc Aug 28, 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