Merged
Conversation
Member
atymic
commented
Mar 23, 2026
- release workflow
- tag workflow
- new repo workflow
There was a problem hiding this comment.
Pull request overview
This PR modernizes the repo-splitting and release automation around GitHub Actions by replacing the previous monorepo-builder-based split approach with splitsh-lite and adding scripts/workflows to create split repos and publish releases based on PR labels.
Changes:
- Replace monorepo-builder splitting with a splitsh-lite driven
tools/split.shand a newsplit-overrides.jsonmapping. - Add automation scripts/workflows to create missing split repos and to release changed providers after a split run.
- Update existing tooling/workflows (tokens, action versions, paths) and remove obsolete scripts/config.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/update-repo-descriptions.php | Refactors GitHub API calls to use withToken() and flatMap() while updating repo metadata/topics. |
| tools/split.sh | New splitsh-lite based parallel splitter that force-pushes split SHAs to provider repos. |
| tools/release.php | New script to detect changed providers + bump type and create GitHub releases in split repos. |
| tools/release-major-version.php | Removed legacy “release major version across all providers” script. |
| tools/doc-upgrade.php | Fixes provider directory discovery to be relative to __DIR__. |
| tools/create-repos.php | New script to create missing split repos for newly added providers and apply standard settings/topics. |
| tools/create-repo.php | Removed legacy single-repo creation script. |
| tools/close-subtree-prs.php | Refactors subtree PR closer to use token + baseUrl and simplifies API calls. |
| split-overrides.json | New mapping of provider directory names to non-1:1 GitHub repo names. |
| monorepo-builder.yml | Removed monorepo-builder split configuration. |
| composer.json | Updates PHP/dev dependencies to support new tooling (notably composer/semver) and removes monorepo-builder. |
| .github/workflows/test.yml | Simplifies CI to a single lint job/version and removes caching/matrix. |
| .github/workflows/subtree-pr-close.yml | Updates actions/checkout and PHP version for the subtree PR close workflow. |
| .github/workflows/release.yml | New workflow to release providers after a successful split workflow run. |
| .github/workflows/monorepo-split.yml | Reworks split workflow to install splitsh-lite, run repo creation, and execute tools/split.sh. |
| .github/workflows/coding-standards.yml | Bumps default PHP input version. |
| .gitattributes | Stops exporting the removed monorepo-builder config. |
Comments suppressed due to low confidence (1)
tools/update-repo-descriptions.php:35
- The repo homepage is being set from
$repo['name'], but several split repos have names that include uppercase letters or punctuation (e.g.App.net,Microsoft-Azure). The docs URLs insrc/*/composer.jsonuse lowercased, punctuation-stripped slugs (e.g.appnet,microsoft-azure), so this will point many repos at a non-existent page. Suggest deriving a docs slug (e.g. lowercase + strip characters like.) or using a mapping so the generated homepage matches the actual site path.
'description' => sprintf('[READ ONLY] Subtree split of the SocialiteProviders/%s Provider (see SocialiteProviders/Providers)', $repo['name']),
'homepage' => sprintf('https://socialiteproviders.com/%s/', $repo['name']),
'has_issues' => false,
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.