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

WordPress Trac noreply at wordpress.org
Wed Aug 31 14:27:07 UTC 2022


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

 * keywords:  has-patch => has-patch commit


Comment:

 Turns out to be an incorrect variable being used. `github.run_number` (the
 unique number for a run represents for a workflow over time) is not the
 same as `github.run_attempt` (the run attempt number for a given workflow
 run). The attempt is the correct one here.

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


More information about the wp-trac mailing list