Expand path filtering for testing old branches - #13089
Conversation
|
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Pull request overview
Updates the test-old-branches GitHub Actions workflow path filters so that changes to any reusable workflow file (not just the versioned reusable PHPUnit workflows) will trigger the old-branch validation runs, helping ensure reusable workflow updates remain compatible with older branches.
Changes:
- Broadens the
on.push.pathsfilter fromreusable-phpunit-tests-v[1-3].ymltoreusable-*.ymlto cover all reusable workflow files. - Keeps the existing direct trigger on changes to
test-old-branches.ymlitself.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
When changes to the reusable PHPUnit test workflows are made, the test old branches workflow runs to confirm that the changes do not break workflows within old branches. However, there are many workflows that make use of reusable workflow files, so the path filtering should be expanded.
Trac ticket: Core-64854.
Use of AI Tools
None.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.