mirror of https://github.com/istio/istio.io.git
Improve control for auto-cherry picking to specific release branches. (#4674)
This commit is contained in:
parent
0ab449a961
commit
5370eff22e
17
.mergify.yml
17
.mergify.yml
|
|
@ -11,12 +11,21 @@ pull_request_rules:
|
|||
actions:
|
||||
merge:
|
||||
method: squash
|
||||
strict: true
|
||||
strict: false
|
||||
|
||||
- name: Automatically cherry pick a PR from master to the release branch if the right label is set
|
||||
- name: Automatically cherry pick a PR from master to the release-1.2 branch if the right label is set
|
||||
conditions:
|
||||
- base=master
|
||||
- label=action/merge-to-release-branch
|
||||
- label=action/merge-to-release-1.2-branch
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-1.2
|
||||
|
||||
- name: Automatically cherry pick a PR from master to the release-1.3 branch if the right label is set
|
||||
conditions:
|
||||
- base=master
|
||||
- label=action/merge-to-release-1.3-branch
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
|
|
@ -24,7 +33,7 @@ pull_request_rules:
|
|||
|
||||
- name: Automatically cherry pick a PR from the release branch to master if the right label is set
|
||||
conditions:
|
||||
- base=release-1.2
|
||||
- base~=release-?.?
|
||||
- label=action/merge-to-master
|
||||
actions:
|
||||
backport:
|
||||
|
|
|
|||
Loading…
Reference in New Issue