[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:16:37 UTC 2021

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

Comment (by desrosj):

 In [changeset:"50591" 50591]:
 #!CommitTicketReference repository="" revision="50591"
 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.

 Merges [50590] to the 5.7 branch.
 See #52653.

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

More information about the wp-trac mailing list