Build/Test Tools: Remove unnecessary --no-interaction option from Composer commands.

As of version `2.17.0` of the `shivammathur/setup-php` action, the `COMPOSER_NO_INTERACTION` environment variable is configured by default. `—-no-interaction` will always be used.

Props jrf, hellofromTonya, SergeyBiryukov, costdev, desrosj.
Fixes #54695.

git-svn-id: https://develop.svn.wordpress.org/trunk@54313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2022-09-26 19:15:05 +00:00
parent 8e0c216c59
commit 9d4750abd0
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
with:
composer-options: "--no-progress --no-ansi --no-interaction"
composer-options: "--no-progress --no-ansi"
- name: Make Composer packages available globally
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH

View File

@ -88,7 +88,7 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
with:
composer-options: "--no-progress --no-ansi --no-interaction"
composer-options: "--no-progress --no-ansi"
- name: Make Composer packages available globally
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH