Repository navigation
Description
Overall Goal
While only the most recent release of WordPress is officially supported, the project has a much wider support policy in regards to which releases are eligible to receive security updates. All versions >=4.7 in a security-only support state, receiving select security patches as a courtesy to users of WordPress.
The software itself ships from https://github.com/WordPress/wordpress-develop/ and github.com/WordPress/wordpress/, but the code maintained here in this repository is just as critical from WordPress >=5.0. The code in this repository that corresponds to each release of WordPress is organized using wp/X.Y branches.
Because the testing infrastructure in these branches has not been maintained, automated checks and test suites currently broken entirely, consistently fail, or don't run at all due to poorly scoped branch filters or event targeting.
It is imperative that these GitHub Actions workflows and the underlying testing infrastructure is restored to a working state so that should a security patch in these versions be necessary, they can be properly validated and confirmed before shipped to users.
This issue tracks the effort to bring CI back to a working, accurate state on every branch still eligible for security patches.
Scope
The scope for this ticket includes any changes necessary to restore the functionality of the relevant GitHub Actions workflows in each wp/X.Y branch while also ensuring that each automation only runs when necessary/
A second issue will be created as a Part 2 aimed at converting all GitHub Actions workflow files into calling workflows that reference reusable workflows maintained in trunk, which is the same pattern that https://github.com/WordPress/wordpress-develop/ has used for a few years now. This reduces the level of effort and maintenance burden to keep these workflows running in old branches significantly.
Tasks
The fixes fall into a handful of recurring categories, not all of which apply to every branch depending on its age and what it already supports:
- Removing obsolete/trunk-only workflows (React Native runners, Storybook Pages deploy, changelog verification, plugin-repo publishing, issue automation) while keeping genuinely branch-relevant.
- Bumping third-party GitHub Actions to current releases: Some actions are so outdated that workflows will not even start running because GitHub has force short-circuited them due to the presence of deprecated features.
- Pin all actions to full-length SHAs: Referencing actions by SHA values is a hardening measure recommended in GitHub's secure usage documentation.
- Pinning floating runner images (
ubuntu-latestetc.) to fixed versions: the underlying image tagged as-latestchanges over time and can inconsistently resolve to different images during a rollout. - Simplifying/removing Node and
wp-envcore version test matrices that no longer serve a purpose on a frozen branch. - Correcting PHP version test matrices to the versions each branch's own
Requires PHPheader actually supports: each branch should always test the earliest and newest minor version of PHP supported by a release. - Fixing
wp-env's Docker builds against archived Debian Buster/Bullseye package repositories. - Removing CI jobs that silently track trunk's moving tooling (flaky-test issue reporting) rather than the frozen branch's own copy.
- Correcting Composer's PHP-version platform override, which was masking real dependency resolution failures.
- Widening workflow
push/pull_requestbranch filters that were missing or too narrow to ever trigger on these branches. - Adding standard
concurrency:blocks to cancel stale in-progress runs. - Guarding PHP 8.5–deprecated reflection calls in PHPUnit tests.
- Various branch-specific stabilization fixes (flaky Playwright/e2e tests, browserslist warnings).
- and likely more!
To track this effort, there will be one sub-issue per branch tracking any findings specific to that branch, and used as the issue reference for the individual PRs in the PR stack which brings the branch into a working state.
Note: AI has been used heavily to prepare this work. Any pull request that is in Draft state should be considered unreviewed and unverified by a human.
Contributors
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
wp/7.1branch: Restore automated testing capabilities and GitHub Actions workflows #82781wp/7.0branch: Restore automated testing capabilities and GitHub Actions workflows #82782wp/6.7branch: Restore automated testing capabilities and GitHub Actions workflows #82783wp/6.6branch: Restore automated testing capabilities and GitHub Actions workflows #82784wp/6.9branch: Restore automated testing capabilities and GitHub Actions workflows #82785wp/6.8branch: Restore automated testing capabilities and GitHub Actions workflows #82786wp/6.5branch: Restore automated testing capabilities and GitHub Actions workflows #82928wp/6.4branch: Restore automated testing capabilities and GitHub Actions workflows #82929wp/6.3branch: Restore automated testing capabilities and GitHub Actions workflows #829304 remaining items
wp/5.8branch: Restore automated testing capabilities and GitHub Actions workflows #82935wp/5.7branch: Restore automated testing capabilities and GitHub Actions workflows #82936wp/5.6branch: Restore automated testing capabilities and GitHub Actions workflows #82937wp/5.5branch: Restore automated testing capabilities and GitHub Actions workflows #82938wp/5.4branch: Restore automated testing capabilities and GitHub Actions workflows #83419wp/5.3branch: Restore automated testing capabilities and GitHub Actions workflows #83420wp/5.2branch: Restore automated testing capabilities and GitHub Actions workflows #83421wp/5.1branch: Restore automated testing capabilities and GitHub Actions workflows #83422lancewillett commentedon Sep 28, 2026
Could you please add in @lucatume and @adimoldovan here? We'd love to help push this forward.
wp/X.Ybranches #84853wp/5.4-wp/5.1branches) #85588desrosj commentedon Oct 29, 2026
Thank you, everyone for helping with this effort! I am pleased to report that all stacks have been merged and all workflows/automated testing is now passing in each
wp/x.ybranch. 🎉