bluehorndigital / setup-drupal

GitHub Action to setup Drupal for testing an extension
MIT License
19 stars 3 forks source link

Fix Composer plugins error #14

Closed andrewfandrew closed 2 years ago

mglaman commented 2 years ago

Thanks! This should be fixed in Drupal core, but let's get it fixed here. Related to #13

I'm having to do the following in my CI flows:

      -   name: Fix allow-plugins (8.9)
          if: ${{ matrix.drupal == '^8.9' }}
          run: |
              cd ~/drupal
              composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
              composer config --no-plugins allow-plugins.drupal/core-project-message true
      -   name: Fix allow-plugins
          run: |
              cd ~/drupal
              composer config --no-plugins allow-plugins.composer/installers true
              composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
mglaman commented 2 years ago

Fixed in another PR.