Skip to content

Commit ccbde4b

Browse files
committed
phar.yml - get quicker to commit step
1 parent 55d9d9b commit ccbde4b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/phar.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,17 @@ jobs:
12881288
commit:
12891289
name: "Commit PHAR"
12901290
if: "github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.2.x' || startsWith(github.ref, 'refs/tags/'))"
1291+
# Gated on every job that produces or validates the committed bits: the
1292+
# compile jobs build the staged binaries (and run the differential test
1293+
# batteries per leg), turbo-version guards the version constant the
1294+
# staging logic compares, turbo-phpize the build system. The
1295+
# "Run with Turbo Extension" jobs (turbo-run, turbo-docker-run) are
1296+
# deliberately not gates: they produce nothing the commit consumes,
1297+
# their full-suite runs would delay every dev phar by their duration,
1298+
# and a red leg caused by environment drift (the floating docker-library
1299+
# tags) would skip the commit and halt phar publication while the
1300+
# binaries already in dist are equally affected — nothing protective
1301+
# gained. They still fail the workflow loudly for follow-up.
12911302
needs:
12921303
- compiler-tests
12931304
- turbo-version
@@ -1296,8 +1307,6 @@ jobs:
12961307
- turbo-compile-musl-arm64
12971308
- turbo-compile-windows
12981309
- turbo-macos-universal
1299-
- turbo-docker-run
1300-
- turbo-run
13011310
runs-on: "ubuntu-latest"
13021311
timeout-minutes: 60
13031312
steps:

0 commit comments

Comments
 (0)