Opened 4 years ago
Closed 4 years ago
#52643 closed defect (bug) (fixed)
Scope GitHub Action workflows to specific branches on `pull_request`
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.8 | Priority: | low |
Severity: | normal | Version: | 5.6 |
Component: | Build/Test Tools | Keywords: | has-patch fixed-major |
Focuses: | Cc: |
Description
Some GHA workflows are not required in every branch. For example, the PHP Compatibility workflow was added in 5.5, and does not pass in previous branches.
The push
trigger is already properly scoped to target branches and tags only matching push
events >= 5.5
. This needs to be copied over to the pull_request
trigger as well.
This will prevent unnecessary workflows from running in older branches.
Attachments (1)
Change History (7)
#2
@
4 years ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening this to backport at some point.
This ticket was mentioned in Slack in #core by sergey. View the logs.
4 years ago
#6
@
4 years ago
- Resolution set to fixed
- Status changed from reopened to closed
This was included in [50602-50606].
This will be backported further next week, but going to close this out.
Note: See
TracTickets for help on using
tickets.
In 50432: