Add feature gate prompt and backport label automation (#24023)
This commit is contained in:
parent
51b37f0184
commit
0188e2601b
|
@ -2,6 +2,13 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- OPTIONAL -->
|
||||||
|
<!-- Any changes that affect the behavior of a feature activation MUST add the feature-gate label and include details -->
|
||||||
|
#### Feature Gate Details
|
||||||
|
<!-- Describe why the new or modified feature gate is needed and any necessary conditions for its activation -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### Summary of Changes
|
#### Summary of Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
46
.mergify.yml
46
.mergify.yml
|
@ -88,30 +88,50 @@ pull_request_rules:
|
||||||
actions:
|
actions:
|
||||||
dismiss_reviews:
|
dismiss_reviews:
|
||||||
changes_requested: true
|
changes_requested: true
|
||||||
- name: set automerge label on mergify backport PRs
|
- name: v1.9 feature-gate backport
|
||||||
conditions:
|
|
||||||
- author=mergify[bot]
|
|
||||||
- head~=^mergify/bp/
|
|
||||||
- "#status-failure=0"
|
|
||||||
- "-merged"
|
|
||||||
actions:
|
|
||||||
label:
|
|
||||||
add:
|
|
||||||
- automerge
|
|
||||||
- name: v1.9 backport
|
|
||||||
conditions:
|
conditions:
|
||||||
- label=v1.9
|
- label=v1.9
|
||||||
|
- label=feature-gate
|
||||||
actions:
|
actions:
|
||||||
backport:
|
backport:
|
||||||
ignore_conflicts: true
|
ignore_conflicts: true
|
||||||
|
labels:
|
||||||
|
- automerge
|
||||||
|
- feature-gate
|
||||||
branches:
|
branches:
|
||||||
- v1.9
|
- v1.9
|
||||||
- name: v1.10 backport
|
- name: v1.9 non-feature-gate backport
|
||||||
conditions:
|
conditions:
|
||||||
- label=v1.10
|
- label=v1.9
|
||||||
|
- label!=feature-gate
|
||||||
actions:
|
actions:
|
||||||
backport:
|
backport:
|
||||||
ignore_conflicts: true
|
ignore_conflicts: true
|
||||||
|
labels:
|
||||||
|
- automerge
|
||||||
|
branches:
|
||||||
|
- v1.9
|
||||||
|
- name: v1.10 feature-gate backport
|
||||||
|
conditions:
|
||||||
|
- label=v1.10
|
||||||
|
- label=feature-gate
|
||||||
|
actions:
|
||||||
|
backport:
|
||||||
|
ignore_conflicts: true
|
||||||
|
labels:
|
||||||
|
- automerge
|
||||||
|
- feature-gate
|
||||||
|
branches:
|
||||||
|
- v1.10
|
||||||
|
- name: v1.10 non-feature-gate backport
|
||||||
|
conditions:
|
||||||
|
- label=v1.10
|
||||||
|
- label!=feature-gate
|
||||||
|
actions:
|
||||||
|
backport:
|
||||||
|
ignore_conflicts: true
|
||||||
|
labels:
|
||||||
|
- automerge
|
||||||
branches:
|
branches:
|
||||||
- v1.10
|
- v1.10
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue