[wp-trac] [WordPress Trac] #52643: Scope GitHub Action workflows to specific branches on `pull_request`

WordPress Trac noreply at wordpress.org
Wed Feb 24 19:34:56 UTC 2021


#52643: Scope GitHub Action workflows to specific branches on `pull_request`
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  low               |   Milestone:  5.8
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:"50432" 50432]:
 {{{
 #!CommitTicketReference repository="" revision="50432"
 Build/Test Tools: Limit when GitHub Action workflows run on
 `pull_request`.

 Different branches have support for different types of testing based on
 the tooling that was in place at the time each version was branched. The
 workflows currently in place have patterns configured to match the
 relevant `branches` and `tags` for each workflow, but only for `push`
 events.

 This copies the patterns for matching supported `branches` over to the
 `pull_request` event to prevent workflows from running for a pull request
 to a branch that does not support that workflow.

 Fixes #52643.
 }}}

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


More information about the wp-trac mailing list