Skip to content

Repair wp/5.8 branch Actions: Update GitHub Actions to their latest versions - #84431

Open
desrosj wants to merge 6 commits into
fix-actions-5.8/add-job-timeoutsfrom
fix-actions-5.8/update-actions-to-latest
Open

desrosj wants to merge 6 commits into
fix-actions-5.8/add-job-timeoutsfrom
fix-actions-5.8/update-actions-to-latest

Conversation

@desrosj

@desrosj desrosj commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Part of #82935.

What?

Bumps every third-party GitHub Action pin used by wp/5.8's remaining workflows to its current latest release, pinned by full-length commit SHA with a # vX.Y.Z version comment.

Action Old pin New pin
actions/checkout v2.3.4 v7.0.1
actions/setup-node v2.1.5 v7.0.0
actions/cache v2.1.6 v6.1.0
actions/upload-artifact v2.2.2 v7.0.1
preactjs/compressed-size-action v2.1.0 2.10.0

This branch's .github/ tree has no composite actions (no .github/setup-node/action.yml or similar) and doesn't use shivammathur/setup-php or ramsey/composer-install at all — this era of the workflow files predates both, so there was nothing to check there beyond the five actions above.

Why?

Pinning to old, several-major-versions-behind commits leaves this frozen branch's CI running unpatched, long-unmaintained action code, and pinning by full SHA (rather than a floating major-version tag) keeps the pin auditable and immune to a retagged release.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Oct 9, 2026
@desrosj desrosj self-assigned this Oct 9, 2026
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a731683-ac47-44a3-88fa-893afacce86e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@desrosj
desrosj removed this pull request from stack #84460 October 10, 2026 00:22
@desrosj
desrosj changed the base branch from fix-actions-5.8/disable-cache-for-release-builds to wp/5.8 October 10, 2026 00:22
@desrosj
desrosj force-pushed the fix-actions-5.8/update-actions-to-latest branch from b524ec0 to 1e385b4 Compare October 10, 2026 00:24
@desrosj
desrosj changed the base branch from wp/5.8 to fix-actions-5.8/add-job-timeouts October 10, 2026 00:26
@desrosj
desrosj added this pull request to stack #84492 October 10, 2026 00:27
@desrosj
desrosj marked this pull request as ready for review October 13, 2026 01:05
@github-actions

Copy link
Copy Markdown

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: 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.

@desrosj
desrosj removed this pull request from stack #84492 October 16, 2026 01:21
@desrosj
desrosj added this pull request to stack #84874 October 16, 2026 01:21
@desrosj
desrosj removed this pull request from stack #84874 October 16, 2026 15:49
@desrosj
desrosj added this pull request to stack #84943 October 16, 2026 15:50
@desrosj desrosj changed the title Repair wp/5.8 branch Actions: update disabled third-party GitHub Actions Repair wp/5.8 branch Actions: Update GitHub Actions to their latest versions Oct 16, 2026

@ntsekouras ntsekouras 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.

LGTM, thanks! This fixes the jobs that were auto-failing because of the retired actions/cache v2 and upload-artifact v2, so every job runs again. They now fail at npm ci because of the react-native-screens git dependency, which is fixed in AG.

Moving to upload-artifact v7 brings the artifact name conflicts for the e2e shards, which I think should be a follow-up row on top of the stack: #84853 (comment)

@desrosj
desrosj removed this pull request from stack #84943 October 21, 2026 19:47
@desrosj
desrosj added this pull request to stack #85352 October 21, 2026 19:48

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants