Commit bbf3bce
Isolate the pinned composer from setup-php's composer auth
The ZTS compile legs failed intermittently: on runner (non-container)
legs, setup-php seeds ~/.composer/auth.json with the workflow's GitHub
token (conditionally — it probes api.github.com first, hence the
flakiness), and the checksum-pinned composer 2.9.2 then throws at
startup ("Your github oauth token for github.com contains invalid
characters"). Everything these legs install comes from packagist dists,
so run the pinned composer with an isolated COMPOSER_HOME instead of
inheriting the ambient auth.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013j6ePxd1BobZkr8YVLnNet1 parent 5e3c6b9 commit bbf3bce
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
352 | 356 | | |
353 | 357 | | |
354 | 358 | | |
355 | | - | |
| 359 | + | |
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
| |||
0 commit comments