Build/Test Tools: Reference reusable-prepare-gutenberg.yml at trunk in the 7.0 PHPUnit workflow - #12743
Conversation
…n the 7.0 PHPUnit workflow.
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions 7.0 PHPUnit workflow to track the reusable-prepare-gutenberg.yml reusable workflow on trunk (instead of a pinned commit), aiming to keep the “prepare” producer aligned with other PHPUnit workflow consumers already following @trunk.
Changes:
- Switch
prepare-gutenbergto usereusable-prepare-gutenberg.yml@trunkrather than a pinned SHA. - Add an inline note and a
zizmorsuppression for the unpinneduses:reference.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| prepare-gutenberg: | ||
| uses: WordPress/wordpress-develop/.github/workflows/reusable-prepare-gutenberg.yml@80fb78da3153431dee7e5d66e7463e71fda31ec7 | ||
| # Keep the producer aligned with the consumer workflows that also follow trunk. | ||
| uses: WordPress/wordpress-develop/.github/workflows/reusable-prepare-gutenberg.yml@trunk # zizmor: ignore[unpinned-uses] |
|
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. |
This updates the 7.0 PHPUnit workflow to reference
reusable-prepare-gutenberg.yml@trunkinstead of a pinned commit SHA.The
reusable-phpunit-tests-v3.ymlcallers already use@trunk. Keeping both shared workflows on the same ref prevents their output contract from drifting and preserves the one-version-to-maintain intent.No PHP matrix or caller wiring changed.
Trac ticket: https://core.trac.wordpress.org/ticket/65721
Testing
actionlint .github/workflows/phpunit-tests.ymlgit diff --checkUse of AI Tools
AI assistance: Yes
Tool(s): Codex
Model(s): GPT-5
Used for: Applied and validated the one-line workflow reference change. The final diff was reviewed by me.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request.