Skip to content

Commit

Permalink
GH Actions: always use --no-interaction for Composer
Browse files Browse the repository at this point in the history
Adding `--no-interaction` to "plain" Composer commands to potentially prevent CI hanging if, for whatever reason, interaction would be needed in the future.
  • Loading branch information
jrfnl committed Dec 24, 2021
1 parent a792ab6 commit 30ecff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
if: ${{ matrix.phpcompat != 'stable' }}
run: |
composer config minimum-stability dev
composer require --no-update phpcompatibility/php-compatibility:"${{ matrix.phpcompat }}"
composer require --no-update phpcompatibility/php-compatibility:"${{ matrix.phpcompat }}" --no-interaction
- name: Install dependencies
run: composer install --no-interaction --no-progress
Expand Down

0 comments on commit 30ecff2

Please sign in to comment.