From b881ef1eeeda630c1cf511c2f0f8d10277cb503d Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 12 Aug 2020 09:41:10 +0200 Subject: [PATCH] ci: prevent Mergify from doing merge commits Merge commits cause the CentOS CI commitlint job to fail. By configuring Mergify to not do merge commits, but rebases before final testing, we can use the CentOS CI commitlint job when the GitHub commitlint App does not work. Signed-off-by: Niels de Vos --- .mergify.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index ada29c596..235af3028 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -35,8 +35,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: automatic merge PR having ready-to-merge label @@ -58,8 +59,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release v1.2.0 branch @@ -83,8 +85,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v2.0 branch @@ -108,8 +111,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v2.1 branch @@ -133,8 +137,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v3.0 branch @@ -158,8 +163,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v3.1 branch @@ -191,6 +197,7 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge + bot_account: ceph-csi-bot strict: smart strict_method: rebase dismiss_reviews: {} @@ -216,8 +223,9 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {} - name: automatic merge PR having ready-to-merge label on ci/centos @@ -235,7 +243,8 @@ pull_request_rules: merge: method: rebase rebase_fallback: merge - strict: smart bot_account: ceph-csi-bot + strict: smart + strict_method: rebase dismiss_reviews: {} delete_head_branch: {}