File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1818 strategy :
1919 fail-fast : false
2020 matrix :
21- php : [8.1 , 8.2 , 8.3 ]
21+ php : [8.2 , 8.3 , 8.4 ]
2222 wordpress : ["latest"]
2323 runs-on : ubuntu-latest
2424 # Cancel any existing runs of this workflow
4242 wordpress-version : ' ${{ matrix.wordpress }}'
4343 skip-wordpress-install : ' true'
4444 skip-services : ' true' # Skip MySQL unless the library is not using SQLite testing.
45+ all-pr-checks-passed :
46+ name : All PR checks passed
47+ needs :
48+ - pr-tests
49+ runs-on : ubuntu-latest
50+ if : always()
51+ steps :
52+ - name : Check job statuses
53+ run : |
54+ if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" ]]; then
55+ echo "One or more jobs failed"
56+ exit 1
57+ elif [[ "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
58+ echo "One or more jobs were cancelled"
59+ exit 1
60+ else
61+ echo "All jobs passed or were skipped"
62+ exit 0
63+ fi
You can’t perform that action at this time.
0 commit comments