[wp-trac] [WordPress Trac] #54742: Fix GHA on first runs for new branches

WordPress Trac noreply at wordpress.org
Tue Apr 5 13:19:09 UTC 2022


#54742: Fix GHA on first runs for new branches
------------------------------+----------------------
 Reporter:  davidbaumwald     |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53077" 53077]:
 {{{
 #!CommitTicketReference repository="" revision="53077"
 Build/Test Tools: Prevent error when workflows run for new branches and
 tags.

 This fixes a JavaScript error in the Slack notifications workflow. This
 was causing the first workflow run for each workflow in a new branch or
 tag to be reported as a failure, even if the important parts of the
 workflow succeed.

 When running a workflow for the first time, a default of `failure` is now
 used for the previous outcome. This will trigger a success notification to
 be sent to report successful branching/tagging.

 Props davidbaumwald.
 Fixes #54742.
 }}}

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


More information about the wp-trac mailing list