Skip to content

Commit aa99194

Browse files
committed
fix composer allow-plugins in CI
1 parent 50c28c4 commit aa99194

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/php.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ jobs:
113113
with:
114114
version: ${{ matrix.drupal }}
115115
path: ~/drupal
116+
- name: Fix allow-plugins (8.9)
117+
if: ${{ matrix.drupal == '^8.9' }}
118+
run: |
119+
cd ~/drupal
120+
composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
121+
composer config --no-plugins allow-plugins.drupal/core-project-message true
122+
- name: Fix allow-plugins
123+
run: |
124+
cd ~/drupal
125+
composer config --no-plugins allow-plugins.composer/installers true
126+
composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
116127
- name: "set the version alias for self"
117128
run: |
118129
if [ "${{ github.event_name }}" == 'pull_request' ]; then

0 commit comments

Comments
 (0)