Skip to content

Build/Test Tools: Update GitHub-hosted runners to Ubuntu 26.04 - #15518

Open
desrosj wants to merge 1 commit into
WordPress:trunkfrom
desrosj:update-runners-ubuntu-26.04
Open

desrosj wants to merge 1 commit into
WordPress:trunkfrom
desrosj:update-runners-ubuntu-26.04

Conversation

@desrosj

@desrosj desrosj commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

The ubuntu-26.04 runner image is now generally available, and ubuntu-latest is moving from 24.04 to 26.04 between 2026-10-19 and 2026-11-19 (tracked in actions/runner-images#14748).

This PR updates every workflow and reusable workflow that currently pins ubuntu-24.04 to use ubuntu-26.04 instead (43 files, including the default os input on the reusable workflows).

Also:

  • The pinned actionlint version (v1.7.11) does not recognize the ubuntu-26.04 label yet, so it is temporarily registered in .github/actionlint.yaml.
  • Updated the comment above the AppArmor workaround in reusable-javascript-tests.yml so it no longer refers only to 24.04.

Note: the versioned reusable workflows (-v1, -v2, and so on) are also called from older branches. Changing their default os input will move those branches to 26.04 too, unless they pass os explicitly.

This is a draft while the workflow results are reviewed.

Trac ticket: Core-66499

Use of AI Tools

Claude Code (Claude Opus 5.5) made the label replacement and the actionlint config change, and drafted this description. Draft PRs should be considered unverified and unreviewed by a human.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@desrosj desrosj moved this from Backlog to In progress in WordPress Project Build Tooling Nov 5, 2026
This was referenced Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props desrosj.

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


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@desrosj desrosj moved this from In progress to In review in WordPress Project Build Tooling Nov 5, 2026
@desrosj
desrosj requested a review from a team November 5, 2026 22:58
The `ubuntu-26.04` runner image became generally available on 2026-09-17, and the `ubuntu-latest` label is moving from 24.04 to 26.04 between 2026-10-19 and 2026-11-19.

This updates every workflow and reusable workflow that currently pins `ubuntu-24.04` to use `ubuntu-26.04` instead.

The pinned version of actionlint does not recognize the new label yet, so it is registered in `.github/actionlint.yaml` for the time being.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@desrosj
desrosj force-pushed the update-runners-ubuntu-26.04 branch from 7ae1d85 to e7eef8e Compare November 6, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant