Skip to content

Repair wp/5.7 branch Actions: Update GitHub Actions to their latest versions - #84764

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

desrosj wants to merge 5 commits into
fix-actions-5.7/add-job-timeoutsfrom
fix-actions-5.7/update-actions-to-latest

Conversation

@desrosj

@desrosj desrosj commented Oct 15, 2026

Copy link
Copy Markdown
Member

Part of #82936.

What?

Bumps every third-party GitHub Action pin used on wp/5.7 to its current latest release, and pins each one to a full-length commit SHA with a # vX.Y.Z comment instead of a mutable tag.

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

Why?

Every one of these actions was pinned to a mutable major-version tag, meaning the action's actual behavior can change out from under this frozen, security-maintenance-only branch at any time, without a corresponding commit here to review or revert. Pinning to a full-length commit SHA makes every action call fully reproducible and auditable.

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 15, 2026
@desrosj desrosj self-assigned this Oct 15, 2026
@coderabbitai

coderabbitai Bot commented Oct 15, 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: c14f665b-e8eb-4c3c-9252-32a9ceb2d3fe

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.

@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 #84797 October 16, 2026 00:33
@desrosj
desrosj added this pull request to stack #84872 October 16, 2026 00:34
@desrosj
desrosj removed this pull request from stack #84872 October 16, 2026 15:52
@desrosj
desrosj added this pull request to stack #84945 October 16, 2026 15:53
@desrosj desrosj changed the title Repair wp/5.7 branch Actions: update actions to latest Repair wp/5.7 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, and pins the actions that were using mutable tags.

They now fail at npm ci because of the react-native-screens git dependency, which is fixed in AG, and Compressed Size is fixed in BO.

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 #84945 October 21, 2026 19:48
@desrosj
desrosj added this pull request to stack #85354 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