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 <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-08-11 14:12:52 +02:00 committed by Madhu Rajanna
parent 738b5a1f46
commit aa5b53fcce

View File

@ -1,5 +1,10 @@
--- ---
pull_request_rules: pull_request_rules:
- name: rebase on request
conditions: []
actions:
rebase:
bot_account: ceph-csi-bot
- name: remove outdated approvals - name: remove outdated approvals
conditions: conditions:
- base=master - base=master
@ -31,6 +36,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: automatic merge PR having ready-to-merge label - name: automatic merge PR having ready-to-merge label
@ -53,6 +59,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: backport patches to release v1.2.0 branch - name: backport patches to release v1.2.0 branch
@ -77,6 +84,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: backport patches to release-v2.0 branch - name: backport patches to release-v2.0 branch
@ -101,6 +109,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: backport patches to release-v2.1 branch - name: backport patches to release-v2.1 branch
@ -125,6 +134,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: backport patches to release-v3.0 branch - name: backport patches to release-v3.0 branch
@ -149,6 +159,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: backport patches to release-v3.1 branch - name: backport patches to release-v3.1 branch
@ -206,6 +217,7 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}
- name: automatic merge PR having ready-to-merge label on ci/centos - name: automatic merge PR having ready-to-merge label on ci/centos
@ -224,5 +236,6 @@ pull_request_rules:
method: rebase method: rebase
rebase_fallback: merge rebase_fallback: merge
strict: smart strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {} dismiss_reviews: {}
delete_head_branch: {} delete_head_branch: {}