Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 28, 2024
1 parent f037599 commit 0ccc7fa
Showing 1 changed file with 58 additions and 6 deletions.
64 changes: 58 additions & 6 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,61 @@
---
defaults:
actions:
queue:
name: default
method: rebase
update_method: rebase

queue_rules:
- name: duplicated default from merge after two approvals (no API changes)
queue_conditions:
- base~=^(main)|(release-.+)$
- label!=DNM
- label!=api
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
- "status-success=make_test"
merge_conditions:
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
merge_method: rebase
update_method: rebase
- name: duplicated default from API changes needs approval from a contributor and
a reviewer
queue_conditions:
- base~=^(main)|(release-.+)$
- label!=DNM
- label=api
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "approved-reviews-by=@csi-addons/kubernetes-csi-addons-contributors"
- "approved-reviews-by=@csi-addons/kubernetes-csi-addons-reviewers"
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
- "status-success=make_test"
merge_conditions:
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
merge_method: rebase
update_method: rebase
- name: default
conditions:
- "status-success=codespell"
Expand Down Expand Up @@ -41,7 +90,6 @@ pull_request_rules:
- "status-success=kind_deploy"
- "status-success=make_test"
actions:
queue: {}
dismiss_reviews: {}
delete_head_branch: {}
- name: API changes needs approval from a contributor and a reviewer
Expand All @@ -62,7 +110,6 @@ pull_request_rules:
- "status-success=kind_deploy"
- "status-success=make_test"
actions:
queue: {}
dismiss_reviews: {}
delete_head_branch: {}
- name: pr title contains DNM
Expand Down Expand Up @@ -103,3 +150,8 @@ pull_request_rules:
request_reviews:
users_from_teams:
- "@csi-addons/kubernetes-csi-addons-contributors"
- name: API changes needs approval from a contributor and a reviewer + merge after
two approvals (no API changes)
conditions: []
actions:
queue:

0 comments on commit 0ccc7fa

Please sign in to comment.