From 537d312172f25af88396d3215701afd0c3566ff3 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 9 Sep 2026 23:28:40 +0200 Subject: [PATCH] [CI] Strip drupal-rector stopgap conflict so dev-main smoke test runs drupal-rector pins conflict rector/rector >=2.6.2 until it ports to composer-based sets, which blocks install in this downstream smoke test. Strip the conflict before require; all 695 drupal-rector tests pass against rector dev-main. Claude-Session: https://claude.ai/code/session_01SETBUG7QqwFNJUXQ42dLf1 --- .github/workflows/rector_drupal_rector_dev.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rector_drupal_rector_dev.yaml b/.github/workflows/rector_drupal_rector_dev.yaml index 53ec6bbc316..a9af3b11c94 100644 --- a/.github/workflows/rector_drupal_rector_dev.yaml +++ b/.github/workflows/rector_drupal_rector_dev.yaml @@ -25,5 +25,10 @@ jobs: COMPOSER_TOKEN: ${{ secrets.ACCESS_TOKEN }} - run: git clone https://github.com/palantirnet/drupal-rector.git + + # drupal-rector pins a stopgap "conflict" against rector >=2.6.2 until it ports to composer-based sets; + # strip it so dev-main can be smoke-tested here + - run: jq 'del(.conflict."rector/rector")' drupal-rector/composer.json > drupal-rector/composer.tmp.json && mv drupal-rector/composer.tmp.json drupal-rector/composer.json + - run: composer require rector/rector:dev-main --working-dir drupal-rector - run: cd drupal-rector && vendor/bin/phpunit