Commit 53c718c1421 for php.net
commit 53c718c14218db056a5c13d24aa863f8860894a9
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Mon Mar 2 03:34:12 2026 +0100
[CI][skip ci] Fix TEST job failure when no branches changed
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b08d0031aa1..402403a2488 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -58,6 +58,7 @@ jobs:
id: set-matrix
run: php .github/matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}" "${{ github.event_name == 'pull_request' && github.ref || github.ref_name }}" '${{ toJSON(github.event.pull_request.labels) }}' "${{ github.repository }}"
TEST:
+ if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
needs: GENERATE_MATRIX
name: ${{ matrix.branch.name }}
uses: ./.github/workflows/test-suite.yml