2019-03-22 05:27:56 +00:00
|
|
|
---
|
2021-03-01 07:46:47 +00:00
|
|
|
defaults:
|
|
|
|
actions:
|
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
|
2022-01-10 10:03:25 +00:00
|
|
|
update_method: rebase
|
2023-02-01 12:58:25 +00:00
|
|
|
# For rebasing Mergify uses the author of the PR. Ideally we use the
|
|
|
|
# ceph-csi-bot for that, but this is a feature that needs a paid
|
|
|
|
# subscription.
|
|
|
|
#
|
|
|
|
# rebase:
|
2023-01-31 08:35:41 +00:00
|
|
|
# Use ceph-csi-bot for rebasing, not the account of the PR owner.
|
2023-02-01 12:58:25 +00:00
|
|
|
# bot_account: ceph-csi-bot
|
2022-01-10 10:03:25 +00:00
|
|
|
|
2023-11-30 09:27:23 +00:00
|
|
|
# by default Mergify requires manual merging of PRs that modify its own
|
|
|
|
# configuration (this file), allowing this makes it easier to prepare for
|
|
|
|
# releases (new branches added here)
|
|
|
|
allow_merging_configuration_change: true
|
|
|
|
|
2022-01-10 10:03:25 +00:00
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
conditions:
|
|
|
|
# Conditions to get out of the queue (= merged)
|
|
|
|
- or:
|
|
|
|
- and:
|
2023-12-01 09:14:41 +00:00
|
|
|
- base~=^(release-.+)$
|
2022-01-10 10:03:25 +00:00
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2024-04-26 07:29:23 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2024-01-03 17:55:40 +00:00
|
|
|
- and:
|
|
|
|
- base=release-v3.10
|
|
|
|
- "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.26"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
2023-11-30 20:14:27 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2023-08-25 12:14:49 +00:00
|
|
|
- and:
|
|
|
|
- base=devel
|
|
|
|
- "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.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
2024-01-03 17:44:51 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.30"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
2024-01-03 17:44:51 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.30"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
2024-01-03 17:44:51 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.30"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2022-01-10 10:03:25 +00:00
|
|
|
- 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:
|
2023-05-11 11:34:10 +00:00
|
|
|
- name: start CI jobs for PRs in the merge queue
|
2022-11-09 13:29:20 +00:00
|
|
|
conditions:
|
|
|
|
- base~=^(devel)|(release-.+)$
|
2024-04-11 15:24:35 +00:00
|
|
|
- label!=conflicts
|
2023-02-20 15:59:35 +00:00
|
|
|
- not:
|
|
|
|
check-pending~=^ci/centos
|
2023-02-22 11:56:59 +00:00
|
|
|
- not:
|
|
|
|
status-success~=^ci/centos
|
2023-05-11 11:34:10 +00:00
|
|
|
- or:
|
|
|
|
- "check-pending=Queue: Embarked in merge train"
|
2023-05-15 05:31:08 +00:00
|
|
|
- author=mergify[bot]
|
2022-11-09 13:29:20 +00:00
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ok-to-test
|
|
|
|
|
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
|
2022-11-09 13:29:20 +00:00
|
|
|
|
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? 🙏"
|
2022-11-09 13:29:20 +00:00
|
|
|
|
2021-08-30 15:08:19 +00:00
|
|
|
- name: update dependencies by dependabot (skip commitlint)
|
|
|
|
conditions:
|
2024-04-02 08:29:48 +00:00
|
|
|
- author=dependabot[bot]
|
|
|
|
- label!=DNM
|
|
|
|
- base=devel
|
|
|
|
- "#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"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.30"
|
2024-04-02 08:29:48 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.30"
|
2024-04-02 08:29:48 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.30"
|
2024-04-02 08:29:48 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
2021-08-30 15:08:19 +00:00
|
|
|
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:
|
2023-08-25 12:14:49 +00:00
|
|
|
- or:
|
|
|
|
- and:
|
|
|
|
- label!=DNM
|
2023-12-01 09:14:41 +00:00
|
|
|
- base~=^(release-.+)$
|
2023-08-25 12:14:49 +00:00
|
|
|
- "#approved-reviews-by>=2"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2023-12-07 09:16:55 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
2024-01-03 17:55:40 +00:00
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2023-12-07 09:16:55 +00:00
|
|
|
- and:
|
|
|
|
- label!=DNM
|
2024-04-01 09:51:56 +00:00
|
|
|
- base=release-v3.10
|
2023-12-07 09:16:55 +00:00
|
|
|
- "#approved-reviews-by>=2"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
|
|
|
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.26"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
2024-04-23 11:37:34 +00:00
|
|
|
- and:
|
|
|
|
- label!=DNM
|
|
|
|
- base=devel
|
|
|
|
- "#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=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.30"
|
2024-04-23 11:37:34 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.30"
|
2024-04-23 11:37:34 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
2024-04-26 07:36:06 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.30"
|
2024-04-23 11:37:34 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "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:
|
2023-08-25 12:14:49 +00:00
|
|
|
- or:
|
|
|
|
- and:
|
2023-12-01 09:14:41 +00:00
|
|
|
- base~=^(release-.+)$
|
2023-08-25 12:14:49 +00:00
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
|
|
|
- "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=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.29"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.29"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
2024-04-01 09:51:56 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.29"
|
2023-08-25 12:14:49 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
2024-02-20 09:33:45 +00:00
|
|
|
- and:
|
|
|
|
- base=release-v3.10
|
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
|
|
|
- "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=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.26"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.27"
|
|
|
|
- "status-success=ci/centos/k8s-e2e-external-storage/1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.26"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.27"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.28"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
2020-12-08 07:02:27 +00:00
|
|
|
actions:
|
2022-01-10 10:03:25 +00:00
|
|
|
queue:
|
|
|
|
name: default
|
2020-12-08 07:02:27 +00:00
|
|
|
delete_head_branch: {}
|
2022-11-09 13:29:20 +00:00
|
|
|
|
2024-04-01 09:51:56 +00:00
|
|
|
- name: backport patches to release-v3.10 branch
|
2023-02-23 08:02:19 +00:00
|
|
|
conditions:
|
|
|
|
- base=devel
|
2024-04-01 09:51:56 +00:00
|
|
|
- label=backport-to-release-v3.10
|
2023-02-23 08:02:19 +00:00
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
2024-04-01 09:51:56 +00:00
|
|
|
- release-v3.10
|
2023-02-23 08:02:19 +00:00
|
|
|
|
2024-04-01 09:51:56 +00:00
|
|
|
- name: backport patches to release-v3.11 branch
|
2023-06-26 14:56:07 +00:00
|
|
|
conditions:
|
|
|
|
- base=devel
|
2024-04-01 09:51:56 +00:00
|
|
|
- label=backport-to-release-v3.11
|
2023-06-26 14:56:07 +00:00
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
2024-04-01 09:51:56 +00:00
|
|
|
- release-v3.11
|
2023-06-26 14:56:07 +00:00
|
|
|
|
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
|
2022-11-09 13:29:20 +00:00
|
|
|
|
2020-05-27 09:43:08 +00:00
|
|
|
- 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: {}
|
2022-11-09 13:29:20 +00:00
|
|
|
|
2020-05-27 09:43:08 +00:00
|
|
|
- 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: {}
|
2022-11-09 13:29:20 +00:00
|
|
|
|
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
|
2022-08-19 04:44:41 +00:00
|
|
|
- ci/skip/multi-arch-build
|
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
|
2022-08-19 04:44:41 +00:00
|
|
|
- ci/skip/multi-arch-build
|
2024-08-07 07:54:25 +00:00
|
|
|
|
|
|
|
# A [skip ci] in the PR description prevents Jenkins jobs from running, mark
|
|
|
|
# the PR as Draft so that CI jobs do not automatically run anymore.
|
|
|
|
- name: detect [skip ci] in the PR description
|
|
|
|
conditions:
|
2024-08-09 10:22:34 +00:00
|
|
|
# this should be \[skip\W+ci\], but Mergify does not accept that
|
|
|
|
- "body-raw~=skip ci"
|
2024-08-07 07:54:25 +00:00
|
|
|
actions:
|
|
|
|
edit:
|
|
|
|
draft: true
|
|
|
|
comment:
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
message: "The PR description contains the unsupported `[skip ci]`
|
|
|
|
command, please update the description and mark the PR ready for review
|
|
|
|
again."
|