summaryrefslogtreecommitdiff
path: root/.mergify.yml
diff options
context:
space:
mode:
authorJack Koenig2022-01-10 14:44:37 -0800
committerJack Koenig2022-01-10 14:56:32 -0800
commit7b7b36b5eff9423a7ac0e3bceb60d22a5f59b71c (patch)
treeb5b7062f0a4536dbbf779058c6d3b9c4be4f9938 /.mergify.yml
parented8c47fdcb128cf93dbd280942d1054b8dea28c0 (diff)
Update Mergify config for new queue action
Mergify deprecated and removed strict mode in the merge action. Instead, we now use the queue action. Using ucb-bar/chisel-repo-tools#38.
Diffstat (limited to '.mergify.yml')
-rw-r--r--.mergify.yml28
1 files changed, 16 insertions, 12 deletions
diff --git a/.mergify.yml b/.mergify.yml
index d3534b36..4ae8b5cd 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -1,3 +1,7 @@
+queue_rules:
+- name: default
+ conditions:
+ - status-success=all tests passed
pull_request_rules:
- name: automatic squash-and-merge on CI success and review
conditions:
@@ -9,10 +13,10 @@ pull_request_rules:
- label!="DO NOT MERGE"
- label!="bp-conflict"
actions:
- merge:
+ queue:
+ name: default
method: squash
- strict: smart
- strict_method: merge
+ update_method: merge
- name: backport to 3.4.x
conditions:
- merged
@@ -73,10 +77,10 @@ pull_request_rules:
- label!="DO NOT MERGE"
- label!="bp-conflict"
actions:
- merge:
+ queue:
+ name: default
method: squash
- strict: smart
- strict_method: merge
+ update_method: merge
- name: automatic squash-and-mege of 3.3.x backport PRs
conditions:
- status-success=all tests passed
@@ -86,10 +90,10 @@ pull_request_rules:
- label!="DO NOT MERGE"
- label!="bp-conflict"
actions:
- merge:
+ queue:
+ name: default
method: squash
- strict: smart
- strict_method: merge
+ update_method: merge
- name: automatic squash-and-mege of 3.4.x backport PRs
conditions:
- status-success=all tests passed
@@ -99,8 +103,8 @@ pull_request_rules:
- label!="DO NOT MERGE"
- label!="bp-conflict"
actions:
- merge:
+ queue:
+ name: default
method: squash
- strict: smart
- strict_method: merge
+ update_method: merge