Skip to content

Commit 5ab92f4

Browse files
matsaurclaude
andcommitted
ci: pass GITHUB_TOKEN to Composer to fix 504 rate-limit failures
Without authentication, Composer downloads from api.github.com hit GitHub's unauthenticated rate limit, causing transient HTTP 504 errors across all matrix app jobs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f555eac commit 5ab92f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/static-code-analysis.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ jobs:
210210
- name: Composer install
211211
working-directory: apps-external/${{ matrix.app }}
212212
run: composer install --no-interaction --prefer-dist
213+
env:
214+
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GITHUB_TOKEN }}"}}'
213215

214216
- name: Locate psalm binary
215217
id: psalm-bin

0 commit comments

Comments
 (0)