[wp-trac] [WordPress Trac] #54695: CI: always use `--no-interaction` flag for Composer commands

WordPress Trac noreply at wordpress.org
Sat Feb 12 21:02:25 UTC 2022


#54695: CI: always use `--no-interaction` flag for Composer commands
------------------------------+-----------------------
 Reporter:  jrf               |       Owner:  (none)
     Type:  task (blessed)    |      Status:  reopened
 Priority:  normal            |   Milestone:  6.0
Component:  Build/Test Tools  |     Version:  5.9
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:6 jrf]:
 > So if we want to wait for the upstream fix before resolving this issue,
 the actions steps would be:
 > 1. Review the new release once tagged.
 > 2. Update the commit hash of the action in all CI scripts.
 > 3. Remove any `--no-interaction` arguments which already exist in
 Composer commands in the scripts to clean them up (as those are no longer
 needed).
 >
 > And then preferably commit the changes for 2+3 in one commit so it is
 well-documented/obvious for the next person why the arguments were
 removed.

 Looks like the upstream fix was included in
 [https://github.com/shivammathur/setup-php/releases/tag/2.17.0 setup-php
 2.17.0] released on February 8, so these action steps can now be
 addressed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54695#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list