Skip to content

ci: stop gating the matrix build job on 'changes' - #19

Merged
rasuvaeff merged 1 commit into
masterfrom
ci/fix-matrix-gate
Aug 3, 2026
Merged

ci: stop gating the matrix build job on 'changes'#19
rasuvaeff merged 1 commit into
masterfrom
ci/fix-matrix-gate

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

A skipped matrix job (build, strategy.matrix.php) posts a single check run under its unexpanded name template — literally PHP \${{ matrix.php }} — instead of per-version names (PHP 8.3, PHP 8.4, PHP 8.5). Branch protection's required checks for those exact names then never resolve, and any PR that doesn't touch a path the changes gate watches gets stuck BLOCKED forever. Confirmed live on rasuvaeff/bulkhead PR #17/#18. Non-matrix jobs (Prefer lowest, Coverage & Mutation, Backward compatibility, Psalm) don't have this problem and stay gated.

Fix: drop needs/if from the build job only. The PHP-version matrix is the cheap part of the heavy CI anyway — the real savings (mutation testing, prefer-lowest, BC-check) are unaffected.

A skipped matrix job posts one check run under its unexpanded name
template ("PHP ${{ matrix.php }}"), not per-version names, so the
required PHP 8.3/8.4/8.5 checks never resolve and the PR stays BLOCKED
forever. Confirmed live on bulkhead (PR #17/#18, same shape).
@rasuvaeff
rasuvaeff merged commit 1c59812 into master Aug 3, 2026
10 checks passed
@rasuvaeff
rasuvaeff deleted the ci/fix-matrix-gate branch August 3, 2026 16:13
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.

1 participant