Jens-G opened a new pull request, #3470:
URL: https://github.com/apache/thrift/pull/3470
## Summary
Follow-up to #3469: the `COMPOSER_AUTH='{}'` env-var approach in that PR
does not work because it only overrides Composer's *local* auth.json. The
global auth.json written by `shivammathur/setup-php` (which holds the invalid
JWT token) is read and validated independently, before the env var takes effect.
This PR replaces the env-var workaround with an explicit `composer config
--global --unset github-oauth.github.com || true` before each `composer
install` call, removing the bad token at the source.
Affected steps: `lib-php` matrix ("Install Dependencies") and `cross-test`
("Install PHP dependencies").
## Test plan
- [ ] `lib-php (8.x)` jobs pass
- [ ] `cross-test` job passes
🤖 Generated with [Claude Code](https://claude.ai/code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]