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

WordPress Trac noreply at wordpress.org
Thu Feb 25 14:57:06 UTC 2021


#52653: Run GitHub Action workflows for testing old branches on a schedule
------------------------------+--------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  5.8
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 On TravisCI, the tests for each old branch would run periodically on a
 cron to ensure that they continue to pass as time progresses, even when
 changes are not made on a regular basis.

 The schedule looked like this:
 - Daily for the currently supported minor version.
 - Weekly for the next oldest version.
 - Monthly for all other older branches.

 These crons would not run if the branch had a build within the last 24
 hours.

 This is a bit difficult to accomplish with the way GitHub Actions
 currently work. Though there is a `schedule` event that triggers workflow
 runs, it only works within the primary branch.

 There is a [https://github.blog/changelog/2020-07-06-github-actions-
 manual-triggers-with-workflow_dispatch/ `workflow_dispatch` event] that
 allows manually triggering workflows, which is
 [https://docs.github.com/en/rest/reference/actions#create-a-workflow-
 dispatch-event supported in the REST API].

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


More information about the wp-trac mailing list