From b7a499343f823f5d5b0ea3290a5bd599bf8ea039 Mon Sep 17 00:00:00 2001 From: Cameron Motevasselani Date: Wed, 19 Jan 2022 00:17:43 -0800 Subject: [PATCH] chore(build): update mergify config (#1089) Co-authored-by: Cameron Motevasselani (cherry picked from commit bb4b715e794a5a91cfd9bf95f93188cc29b74dff) --- .mergify.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 9acb7204b..3b4147386 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,3 +1,8 @@ +queue_rules: + - name: default + conditions: + - status-success=build + pull_request_rules: - name: Automatically merge on CI success and review conditions: @@ -6,9 +11,9 @@ pull_request_rules: - "label=ready to merge" - "approved-reviews-by=@oss-approvers" actions: - merge: + queue: method: squash - strict: smart + name: default label: add: ["auto merged"] - name: Automatically merge release branch changes on CI success and release manager review @@ -18,9 +23,9 @@ pull_request_rules: - "label=ready to merge" - "approved-reviews-by=@release-managers" actions: - merge: + queue: method: squash - strict: smart + name: default label: add: ["auto merged"] # This rule exists to handle release branches that are still building using Travis CI instead of @@ -32,9 +37,9 @@ pull_request_rules: - "label=ready to merge" - "approved-reviews-by=@release-managers" actions: - merge: + queue: method: squash - strict: smart + name: default label: add: ["auto merged"] - name: Automatically merge PRs from maintainers on CI success and review @@ -44,9 +49,9 @@ pull_request_rules: - "label=ready to merge" - "author=@oss-approvers" actions: - merge: + queue: method: squash - strict: smart + name: default label: add: ["auto merged"] - name: Automatically merge autobump PRs on CI success @@ -56,9 +61,9 @@ pull_request_rules: - "label~=autobump-*" - "author:spinnakerbot" actions: - merge: + queue: method: squash - strict: smart + name: default label: add: ["auto merged"] - name: Request reviews for autobump PRs on CI failure