Skip to content

Repair wp/5.6 branch Actions: Update GitHub Actions to their latest versions - #84954

Merged
desrosj merged 5 commits into
fix-actions-5.6/add-job-timeoutsfrom
fix-actions-5.6/update-actions-to-latest
Oct 27, 2026
Merged

desrosj merged 5 commits into
fix-actions-5.6/add-job-timeoutsfrom
fix-actions-5.6/update-actions-to-latest

Conversation

@desrosj

@desrosj desrosj commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Part of #82937.

What?

Bumps every third-party GitHub Action pin used on this branch to its current latest release, pinned to a full-length commit SHA with a # vX.Y.Z comment, replacing the mutable major-version tags currently in use.

Action Old pin New pin
actions/checkout v2 v7.0.1 (actions/checkout@3d3c42e)
actions/cache v2 v6.1.0 (actions/cache@55cc834)
actions/setup-node v1 v7.0.0 (actions/setup-node@8207627)
preactjs/compressed-size-action v1 2.10.0 (preactjs/compressed-size-action@f322c29)

There is no composite setup-node action on this branch (no .github/setup-node/action.yml), so the workflow files hold every pin.

Why?

These pins were all several years old, on mutable tags an upstream maintainer can move to point at different (potentially malicious) code. Pinning to an immutable commit SHA, with a version comment for human readability, closes that supply-chain gap.

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

coderabbitai Bot commented Oct 16, 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dbd0259c-9279-42f3-b87d-c888f5fcdaec

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 changed the title Repair wp/5.6 branch Actions: update actions to latest Repair wp/5.6 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, 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.

@desrosj
desrosj removed this pull request from stack #84979 October 21, 2026 18:30
@desrosj
desrosj added this pull request to stack #85319 October 21, 2026 18:30
@desrosj desrosj added the props-bot Manually triggers Props Bot to ensure the list of props is up to date. label Oct 26, 2026
@github-actions github-actions Bot removed the props-bot Manually triggers Props Bot to ensure the list of props is up to date. label Oct 26, 2026
@desrosj
desrosj removed this pull request from stack #85319 October 26, 2026 19:34
@desrosj
desrosj added this pull request to stack #85590 October 26, 2026 19:34
@desrosj
desrosj merged commit 0ad61e0 into wp/5.6 Oct 27, 2026
27 of 38 checks passed
@desrosj
desrosj deleted the fix-actions-5.6/update-actions-to-latest branch October 27, 2026 00:40
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