[wp-trac] [WordPress Trac] #52653: Run GitHub Action workflows for testing old branches on a schedule

WordPress Trac noreply at wordpress.org
Fri Mar 26 13:06:57 UTC 2021


#52653: Run GitHub Action workflows for testing old branches on a schedule
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"50590" 50590]:
 {{{
 #!CommitTicketReference repository="" revision="50590"
 Build/Test Tools: Run test workflows on old branches on a schedule.

 On TravisCI, old branches still receiving security updates were tested on
 a regular basis. This ensured tests continued to pass as time passed even
 if updates were not made to these branches.

 On GitHub Actions, there is no interface to configure this (TravisCI had a
 UI), but there is a `schedule` event that can trigger workflow runs on
 cron that can be used to accomplish the same thing.

 This introduces a workflow file that runs twice a month (on the 1st and
 15th) to verify the tests within older branches.

 Because the `schedule` event only runs within the primary branch, the
 appropriate workflows in each old branch will be triggered manually
 through the `workflow_dispatch` trigger using the GitHub REST API.
 `workflow_dispatch` will need to be added to all workflows in all old
 branches in order for the event to dispatch successfully.

 Fixes #52653.
 }}}

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


More information about the wp-trac mailing list