[wp-trac] [WordPress Trac] #53080: Use the `concurrency` option in GitHub Actions workflows.

WordPress Trac noreply at wordpress.org
Wed May 19 17:37:09 UTC 2021


#53080: Use the `concurrency` option in GitHub Actions workflows.
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50930" 50930]:
 {{{
 #!CommitTicketReference repository="" revision="50930"
 Build/Test Tools: Use the new `concurrency` setting for GitHub Actions.

 The new `concurrency` setting can be used to ensure only a single workflow
 run or job is in progress. When used in combination with the `cancel-in-
 progress` setting, incomplete workflow runs can be cancelled automatically
 to prevent running workflows unnecessarily.

 The workflows that take longer to run previously had this built into a
 step and utilized a 3rd-party action. Now that this is natively supported
 by GitHub Actions, using that is preferred.

 This option is currently in beta, but is stable enough to use in our
 workflows for the time being.

 Props ocean90.
 Fixes #53080.
 }}}

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


More information about the wp-trac mailing list