Skip to content

Bump GitHub Actions versions#837

Merged
jeffpaul merged 6 commits intoWordPress:masterfrom
masteradhoc:job-upgrades
Mar 16, 2026
Merged

Bump GitHub Actions versions#837
jeffpaul merged 6 commits intoWordPress:masterfrom
masteradhoc:job-upgrades

Conversation

@masteradhoc
Copy link
Collaborator

@masteradhoc masteradhoc commented Mar 14, 2026

What?

Bump GitHub Actions versions to resolve Node.js 20 deprecation warnings.

Why?

GitHub has announced that Node.js 20 will be removed from Actions runners by default on June 2nd, 2026, with full removal in fall 2026. The workflows were producing deprecation warnings for actions/checkout, actions/setup-node, and nick-fields/retry. Additionally, deploy.yml was lagging further behind on @v3 versions.

How?

Version bumps only — no logic or input changes:

  • actions/checkout@v3 / @v4@v6 (Node.js 24 runtime, also improves credential security)
  • actions/setup-node@v3 / @v4@v5 (Node.js 24 runtime)

Testing Instructions

  1. Open a PR or push a commit to trigger the Test workflow
  2. Confirm no Node.js 20 deprecation warnings appear in the Actions run logs
  3. Confirm all jobs in test.yml pass as before
  4. For deploy.yml, confirm it is syntactically valid (a dry-run merge to master or a test tag would exercise it fully)

Important Note
We'll still have two issues:
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: nick-fields/retry@v3, shivammathur/setup-php@v2.

Those repositories still need to work on the upgrade

Subscribed to them to bump those as well as soon as they are available

Changelog Entry

Changed - Bump actions/checkout to v6, actions/setup-node to v5 to resolve Node.js 20 deprecation warnings ahead of the June 2026 deadline.

@masteradhoc masteradhoc marked this pull request as ready for review March 14, 2026 08:49
@github-actions
Copy link

github-actions bot commented Mar 14, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: masteradhoc <masteradhoc@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@masteradhoc masteradhoc self-assigned this Mar 14, 2026
@masteradhoc masteradhoc added this to the 0.16.0 milestone Mar 14, 2026
Copy link
Collaborator Author

@masteradhoc masteradhoc left a comment

Choose a reason for hiding this comment

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

rework

masteradhoc and others added 2 commits March 16, 2026 20:26
Co-authored-by: Jeffrey Paul <jeff.paul@10up.com>
Co-authored-by: Brian <brian@brianhaas.li>
@masteradhoc masteradhoc requested review from desrosj and jeffpaul March 16, 2026 19:29
Copy link
Member

@desrosj desrosj left a comment

Choose a reason for hiding this comment

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

Thanks! There are some adjustments that I see should be made to a few of these action calls, but not a blocker for this. I will open up some follow up tickets.

steps:
- name: Gather a list of contributors
uses: WordPress/props-bot-action@trunk
uses: WordPress/props-bot-action@992186595bc18334988a431c317237c48b7711a5 # v1.0.0
Copy link
Member

Choose a reason for hiding this comment

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

The Props Bot is currently the only one that we do not strictly enforce this policy with at this time because it's a "first-party" action under the WordPress project's umbrella. But this is fine to include. Once the dust settles from 7.0 I plan to convert this into a proper action vs. a composite one, which will make it easier for Dependabot to manage updates for (currently there is not true versioning in place).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! Yeah we can easily update this after the WP7.0 release. I know a lot work needed to get that out :)

@jeffpaul jeffpaul merged commit 0ca4d87 into WordPress:master Mar 16, 2026
32 checks passed
@masteradhoc masteradhoc deleted the job-upgrades branch March 16, 2026 20:51
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