Skip to content

Commit 29dd7a4

Browse files
malbertsclaude
andcommitted
CI: disable Composer audit.block-insecure to ride out advisory waves
Three new symfony/yaml advisories landed on Packagist on 2026-05-20 (CVE-2026-45304, CVE-2026-45305, CVE-2026-45133), all flagging the exact symfony/yaml version pinned by every MediaWiki branch in the matrix (5.4.23 on REL1_39 through 5.4.45 on REL1_43, etc.). Composer's `audit.block-insecure` default refuses to load the flagged version, so `composer update` (and `composer install` inside installWiki.sh) fails for every PR. Disable `audit.block-insecure` globally before any composer step. Same workaround as ProfessionalWiki/chameleon#480 and ProfessionalWiki/NeoWiki#467, generalized so it covers both the cached `composer update` path and the installWiki.sh path on cache miss (via shared ~/.composer/config.json). Makes CI immune to future advisory-vs-pinned-version churn against MW's exact symfony pins, which is a recurring problem on EOL MW branches that don't get the upstream `"audit": {"block-insecure": false}` backport. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0f82003 commit 29dd7a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
extensions: mbstring, intl
6363
tools: composer
6464

65+
- name: Disable Composer block-insecure
66+
working-directory: ~
67+
run: composer config --global audit.block-insecure false
68+
6569
- name: Cache MediaWiki
6670
id: cache-mediawiki
6771
uses: actions/cache@v4

0 commit comments

Comments
 (0)