Skip to content

Actions upgrade#1441

Merged
atymic merged 15 commits intoSocialiteProviders:masterfrom
atymic:test/monorepo-split
Mar 23, 2026
Merged

Actions upgrade#1441
atymic merged 15 commits intoSocialiteProviders:masterfrom
atymic:test/monorepo-split

Conversation

@atymic
Copy link
Copy Markdown
Member

@atymic atymic commented Mar 23, 2026

  • release workflow
  • tag workflow
  • new repo workflow

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh and a new split-overrides.json mapping.
  • 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 in src/*/composer.json use 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.

@atymic atymic merged commit d542dae into SocialiteProviders:master Mar 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants