From aa5b53fcce1c57cdac95a657a8a1a2086b34acb4 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 11 Aug 2020 14:12:52 +0200 Subject: [PATCH] ci: use ceph-csi-bot account for merging PRs Currently the "@mergifyio rebase" commands uses a random person from the GitHub organization that owns the repository. This is rather confusing and ugly. With this change, alls rebase/merge actions are done with the ceph-csi-bot account that also posts the result of jobs in the CentOS CI. Signed-off-by: Niels de Vos --- .mergify.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index a6e7c87ae..ada29c596 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,5 +1,10 @@ --- pull_request_rules: + - name: rebase on request + conditions: [] + actions: + rebase: + bot_account: ceph-csi-bot - name: remove outdated approvals conditions: - base=master @@ -31,6 +36,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: automatic merge PR having ready-to-merge label @@ -53,6 +59,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release v1.2.0 branch @@ -77,6 +84,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v2.0 branch @@ -101,6 +109,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v2.1 branch @@ -125,6 +134,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v3.0 branch @@ -149,6 +159,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: backport patches to release-v3.1 branch @@ -206,6 +217,7 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {} - name: automatic merge PR having ready-to-merge label on ci/centos @@ -224,5 +236,6 @@ pull_request_rules: method: rebase rebase_fallback: merge strict: smart + bot_account: ceph-csi-bot dismiss_reviews: {} delete_head_branch: {}