Repository navigation
Conversation
- Accept rtcamp/<package>@<version> tags and split only that package - Validate the subtree and composer.json package name - Preserve v<version> tags in mirrors for Packagist
Adi-ty
force-pushed
the
feat/release-php-per-package-tags
branch
from
November 6, 2026 13:28
5869c8b to
95e8ea3
Compare
Adi-ty
marked this pull request as ready for review
November 6, 2026 13:33
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Releases each Composer package on its own tag, so wp-phpstan can go to 2.0.0 without wp-phpcs getting an empty 2.0.0. Until now any
v*tag split and tagged both mirrors at the same version.Closes
N/A
Changes
release-php.ymltriggers onrtcamp/<package>@<version>tags (for examplertcamp/wp-phpstan@2.0.0). It splits only that package and tags its mirrorv<version>, so Packagist sees the same tag format as before. The other mirror is not touched.splitsh.jsonsubtree and the package'scomposer.jsonname, or the run fails before pushing anything. A barev*tag no longer triggers a release.workflow_dispatchtakes the same tag form intest_tag(defaultrtcamp/wp-phpstan@0.0.0-test), so a smoke test orresync_branchrun acts on one mirror.AGENTS.md, thesplit-npm-packages.ymlheader and themonorepo-builder.phpcomment now describe per-package tags.How I verified
actionlintpasses on every workflow, including ci(npm): publish workspaces to npm from main with trusted publishing #71'spublish-npm-packages.yml.splitsh.json:Reviewer notes
v1.0.0/task/npm-publish). Merge ci(npm): publish workspaces to npm from main with trusted publishing #71 first; this PR then retargets tomain.rtcamp/<package>@<version>form.monorepo-builder releaseis lockstep by design and was not used for v1.0.0 or v1.0.1 (both were hand-made tags).