2019-03-22 05:27:56 +00:00
|
|
|
---
|
2021-03-01 07:46:47 +00:00
|
|
|
defaults:
|
|
|
|
actions:
|
2021-04-15 05:57:32 +00:00
|
|
|
# mergify.io has removed bot_account from its free open source plan.
|
2022-08-08 06:13:30 +00:00
|
|
|
# comment:
|
2021-04-15 05:57:32 +00:00
|
|
|
# bot_account: ceph-csi-bot # mergify[bot] will be commenting.
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
2021-04-15 05:57:32 +00:00
|
|
|
# merge_bot_account: ceph-csi-bot #mergify[bot] will be merging prs.
|
|
|
|
# update_bot_account: ceph-csi-bot #mergify will randomly pick and use
|
|
|
|
# credentials of users with write access to repo to rebase prs.
|
2022-01-10 10:03:25 +00:00
|
|
|
name: default
|
2021-03-01 07:51:03 +00:00
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
2022-01-10 10:03:25 +00:00
|
|
|
update_method: rebase
|
|
|
|
|
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
conditions:
|
|
|
|
# Conditions to get out of the queue (= merged)
|
|
|
|
- or:
|
|
|
|
- and:
|
|
|
|
- base~=^(devel)|(release-.+)$
|
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.22"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.24"
|
2022-01-10 10:03:25 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.24"
|
2022-01-10 10:03:25 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.24"
|
2022-01-10 10:03:25 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- and:
|
|
|
|
- base=ci/centos
|
|
|
|
- "status-success=ci/centos/job-validation"
|
|
|
|
- "status-success=ci/centos/jjb-validate"
|
2021-03-01 07:46:47 +00:00
|
|
|
|
2019-01-31 17:03:31 +00:00
|
|
|
pull_request_rules:
|
2019-09-02 11:45:21 +00:00
|
|
|
- name: remove outdated approvals
|
|
|
|
conditions:
|
2021-05-04 08:30:32 +00:00
|
|
|
- base~=^(devel)|(release-.+)$
|
2019-09-02 11:45:21 +00:00
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
2020-05-14 10:45:01 +00:00
|
|
|
- name: ask to resolve conflict
|
|
|
|
conditions:
|
|
|
|
- conflict
|
2021-09-02 06:27:59 +00:00
|
|
|
- author!=dependabot[bot]
|
2020-05-14 10:45:01 +00:00
|
|
|
actions:
|
|
|
|
comment:
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
message: "This pull request now has conflicts with the target branch.
|
|
|
|
Could you please resolve conflicts and force push the corrected
|
|
|
|
changes? 🙏"
|
2021-08-30 15:08:19 +00:00
|
|
|
- name: update dependencies by dependabot (skip commitlint)
|
|
|
|
conditions:
|
|
|
|
- author=dependabot[bot]
|
|
|
|
- label!=DNM
|
|
|
|
- base~=^(devel)|(release-.+)$
|
|
|
|
- "#approved-reviews-by>=2"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2021-09-28 15:20:15 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.24"
|
2021-08-30 15:08:19 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.24"
|
2021-08-30 15:08:19 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.24"
|
2021-08-30 15:08:19 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2021-08-30 15:08:19 +00:00
|
|
|
delete_head_branch: {}
|
2022-01-11 18:41:51 +00:00
|
|
|
|
|
|
|
- name: dismiss review of merged pull request
|
|
|
|
conditions:
|
|
|
|
- base~=^(devel)|(release-.+)$
|
|
|
|
- merged
|
|
|
|
actions:
|
|
|
|
dismiss_reviews: {}
|
|
|
|
|
2019-01-31 17:03:31 +00:00
|
|
|
- name: automatic merge
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
2021-05-04 08:30:32 +00:00
|
|
|
- base~=^(devel)|(release-.+)$
|
2019-09-27 08:27:13 +00:00
|
|
|
- "#approved-reviews-by>=2"
|
2019-09-27 08:31:52 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
2021-08-25 09:40:02 +00:00
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2020-11-30 03:38:24 +00:00
|
|
|
- "status-success=codespell"
|
2020-12-01 14:17:24 +00:00
|
|
|
- "status-success=multi-arch-build"
|
2020-12-07 07:29:24 +00:00
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2021-09-28 15:20:15 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.24"
|
2021-08-12 07:11:55 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.24"
|
2021-08-12 07:11:55 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.24"
|
2020-10-19 09:29:16 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2020-05-06 05:50:13 +00:00
|
|
|
- "status-success=DCO"
|
2019-01-31 17:03:31 +00:00
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2020-05-15 08:25:09 +00:00
|
|
|
delete_head_branch: {}
|
2022-01-11 18:41:51 +00:00
|
|
|
|
2020-05-15 08:25:09 +00:00
|
|
|
- name: automatic merge PR having ready-to-merge label
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
2021-05-04 08:30:32 +00:00
|
|
|
- base~=^(devel)|(release-.+)$
|
2021-08-25 09:40:02 +00:00
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2020-11-30 03:38:24 +00:00
|
|
|
- "status-success=codespell"
|
2020-12-01 14:17:24 +00:00
|
|
|
- "status-success=multi-arch-build"
|
2020-12-07 07:29:24 +00:00
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2020-05-15 08:25:09 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
2021-09-28 15:20:15 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.24"
|
2021-08-12 07:11:55 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.24"
|
2021-08-12 07:11:55 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
2021-12-10 05:36:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.23"
|
2022-07-25 04:35:52 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.24"
|
2020-12-08 07:02:27 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2020-12-08 07:02:27 +00:00
|
|
|
delete_head_branch: {}
|
2022-01-13 04:59:41 +00:00
|
|
|
- name: backport patches to release-v3.5 branch
|
|
|
|
conditions:
|
|
|
|
- base=devel
|
|
|
|
- label=backport-to-release-v3.5
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.5
|
2022-04-06 14:44:25 +00:00
|
|
|
- name: backport patches to release-v3.6 branch
|
|
|
|
conditions:
|
|
|
|
- base=devel
|
|
|
|
- label=backport-to-release-v3.6
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.6
|
2022-08-18 09:53:48 +00:00
|
|
|
- name: backport patches to release-v3.7 branch
|
|
|
|
conditions:
|
|
|
|
- base=devel
|
|
|
|
- label=backport-to-release-v3.7
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.7
|
2020-05-27 09:43:08 +00:00
|
|
|
- name: remove outdated approvals on ci/centos
|
|
|
|
conditions:
|
|
|
|
- base=ci/centos
|
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
|
|
|
- name: automatic merge on ci/centos
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- base=ci/centos
|
|
|
|
- "#approved-reviews-by>=2"
|
2021-08-25 09:40:02 +00:00
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/job-validation"
|
2020-07-24 14:19:42 +00:00
|
|
|
- "status-success=ci/centos/jjb-validate"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2020-05-27 09:43:08 +00:00
|
|
|
delete_head_branch: {}
|
|
|
|
- name: automatic merge PR having ready-to-merge label on ci/centos
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
|
|
|
- base=ci/centos
|
2021-08-25 09:40:02 +00:00
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/job-validation"
|
2020-07-24 14:19:42 +00:00
|
|
|
- "status-success=ci/centos/jjb-validate"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2020-05-27 09:43:08 +00:00
|
|
|
delete_head_branch: {}
|
2021-05-05 11:59:06 +00:00
|
|
|
##
|
|
|
|
## Automatically set/remove labels
|
|
|
|
##
|
|
|
|
- name: title contains DNM
|
|
|
|
conditions:
|
|
|
|
- title~=DNM
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- DNM
|
|
|
|
- name: title contains CephFS
|
|
|
|
conditions:
|
|
|
|
- "title~=cephfs: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/cephfs
|
2022-03-17 10:31:00 +00:00
|
|
|
- name: title contains NFS
|
|
|
|
conditions:
|
|
|
|
- "title~=nfs: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/nfs
|
2021-05-05 11:59:06 +00:00
|
|
|
- name: title contains RBD
|
|
|
|
conditions:
|
|
|
|
- "title~=rbd: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/rbd
|
2021-05-06 06:52:38 +00:00
|
|
|
- name: title contains CI, testing or e2e
|
2021-05-05 11:59:06 +00:00
|
|
|
conditions:
|
2021-05-06 06:52:38 +00:00
|
|
|
- "title~=(ci: )|(testing: )|(e2e)"
|
2021-05-05 11:59:06 +00:00
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/testing
|
|
|
|
- name: title contains Helm
|
|
|
|
conditions:
|
|
|
|
- title~=helm
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/deployment
|
|
|
|
- name: title contains rebase
|
|
|
|
conditions:
|
|
|
|
- "title~=rebase: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- rebase
|
2021-05-14 14:41:24 +00:00
|
|
|
- name: title contains build
|
|
|
|
conditions:
|
|
|
|
- "title~=build: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/build
|
2021-05-05 11:59:06 +00:00
|
|
|
- name: title indicates a bug fix
|
|
|
|
conditions:
|
|
|
|
- title~=(bug)|(fix)
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- bug
|
|
|
|
- name: title contains cleanup
|
|
|
|
conditions:
|
|
|
|
- "title~=cleanup: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- cleanup
|
|
|
|
- name: title contains doc
|
|
|
|
conditions:
|
|
|
|
- "title~=doc: "
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- component/docs
|
|
|
|
- ci/skip/e2e
|
2021-05-06 06:52:38 +00:00
|
|
|
- name: title contains Mergify
|
|
|
|
conditions:
|
2021-11-23 08:13:05 +00:00
|
|
|
- "title~=(?i)mergify"
|
2021-05-06 06:52:38 +00:00
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- Repo activity
|
|
|
|
- ci/skip/e2e
|