[wp-trac] [WordPress Trac] #61213: Convert GitHub Action workflows into reusable ones

WordPress Trac noreply at wordpress.org
Fri May 17 17:41:55 UTC 2024


#61213: Convert GitHub Action workflows into reusable ones
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"58165" 58165]:
 {{{
 #!CommitTicketReference repository="" revision="58165"
 Build/Test Tools: Convert GitHub action workflows into reusable ones.

 With a few exceptions, GitHub Actions workflows run using the version of
 the workflow file present in the commit SHA or Git ref for the triggering
 event. This is useful for maintaining different versions of a workflow
 file.

 In the case of WordPress where there are currently 25+ branches that could
 potentially receive a security fix, it creates a huge maintenance burden.
 When 3rd party actions are updated or features are deprecated on GitHub
 Actions, the required changes need to be backported to all of those
 branches. This takes considerable time and effort.

 This change converts Core’s workflow files to reusable ones. This allows
 the same workflow to be used for all (or most) branches, allowing the
 described maintenance updates to be made once in `trunk`.

 To keep track of which files are reusable vs. those that are responsible
 for holding the strategy matrix for that branch, reusable workflows are
 now prefixed with `reusable-`.

 Props johnbillion, swissspidy, jorbin, desrosj.
 Fixes #61213.
 }}}

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


More information about the wp-trac mailing list