Call the shared PHPCS, PHPStan and AI checklist workflows [ignore_release] - #280
Merged
Conversation
snake14
force-pushed
the
pilot-shared-ci-workflows
branch
from
August 27, 2026 04:31
4a2ad04 to
653881d
Compare
snake14
marked this pull request as ready for review
August 31, 2026 00:49
The check reports no wrong-licence headers in this repository, so it goes green as it stands.
AltamashShaikh
approved these changes
Sep 1, 2026
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.
Description
Pilot for the shared plugin CI workflows in matomo-org/plugin-ci-workflows, and the first public repository to call them. Replaces this plugin's own copies of the PHPCS, PHPStan and AI checklist workflows with calls to the shared definitions: 124 lines of duplicated CI removed for 15 lines of caller.
All three are pinned to the pull request branch of matomo-org/plugin-ci-workflows#2 so this pilot proves them on a runner before that merges. Once it does, the refs change to
@mainandworkflows-refdrops out, leaving each caller as the shared workflow plus the plugin name.No input other than
plugin-nameis needed here: this plugin is on the Matomo 5 line, which is what the shared defaults already target.The shared PHPStan workflow analyses against the oldest supported Matomo as well as the newest, where the previous copy only checked the newest. Any new findings on that leg are the point of the change rather than a regression.
No version bump or changelog entry: this is CI-only.
Issue No
Related to PG-4897
Steps to Replicate the Issue
NA — CI change.
Checklist