[wp-trac] [WordPress Trac] #56407: Rerun GitHub Action workflows on the first failure

WordPress Trac noreply at wordpress.org
Wed Aug 31 14:29:36 UTC 2022


#56407: Rerun GitHub Action workflows on the first failure
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"54039" 54039]:
 {{{
 #!CommitTicketReference repository="" revision="54039"
 Build/Test Tools: Correct the context variable being used when auto-
 retrying failed and cancelled workflows.

 The correct variable here is `github.run_attempt`, which represents the
 unique number for each attempt of a particular workflow run in a
 repository.

 The `github.run_number` currently being used represents the unique number
 for each run of a particular workflow in a repository.

 Follow up to [53947].

 Fixes #56407.
 }}}

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


More information about the wp-trac mailing list