Repository navigation
ci: allow running the PHPUnit and PHPStan workflows manually - #256
Merged
Merged
Conversation
The cascade merge of 4.x into master is pushed with the workflow token, and such a push triggers no workflow: master has had no build since 2026-10-06 although several merges landed. With workflow_dispatch the full build can be started on master (or any branch) from the Actions tab or the API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxhC1CBg4rnTu9UjAMcCpL
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.
Problem
masterhas had no PHPUnit or PHPStan build since 2026-10-06 (a2e42b7), although several merges have landed since, the latest being2ca36e1(the cascade of #254). The cascade merge of4.xintomasteris pushed with the workflow token, and a push made with that token triggers no workflow. Both workflows only run onpushtomasterand onpull_request, so there is no way to start a build onmastertoday.Change
workflow_dispatch:is added tophpunit.ymlandphpstan.yml. The full build can then be started onmaster(or any branch) from the Actions tab or the API. Nothing else changes in the workflows.This targets
4.xand reachesmasterthrough the cascade. Theon:blocks are identical on both branches, so the cascade merges cleanly.After merge
Once it is on
master, both workflows can be dispatched there. The last two PHPStan runs onmaster(6 Oct) failed, so the first run will also show whether that is still the case.Generated by Claude Code