Opened 5 years ago
Closed 5 years ago
#52643 closed defect (bug) (fixed)
Scope GitHub Action workflows to specific branches on `pull_request`
| Reported by: | desrosj | Owned by: | desrosj |
|---|---|---|---|
| Priority: | low | Milestone: | 5.8 |
| Component: | Build/Test Tools | Version: | 5.6 |
| Severity: | normal | Keywords: | has-patch fixed-major |
| Cc: | Focuses: |
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
@
5 years ago
- Keywords fixed-major added
- Resolution fixed
- Status closed → reopened
Reopening this to backport at some point.
This ticket was mentioned in Slack in #core by sergey. View the logs.
5 years ago
#6
@
5 years ago
- Resolution → fixed
- Status reopened → closed
This was included in [50602-50606].
This will be backported further next week, but going to close this out.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 50432: