Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replication: add new Validated condition #664

Merged
merged 1 commit into from
Sep 12, 2024

replication: add new Validated condition

39c304c
Select commit
Loading
Failed to load commit list.
Merged

replication: add new Validated condition #664

replication: add new Validated condition
39c304c
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Sep 12, 2024 in 13s

4 rules match and 8 potential rules

‼️ Action Required ‼️

The configuration uses the deprecated merge_method attribute of the queue action in one or more pull_request_rules. It must now be used under the queue_rules configuration.
A brownout is planned on September 16th, 2024.
This option will be removed on October 21st, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules

‼️ Action Required ‼️

The configuration uses the deprecated update_method attribute of the queue action in one or more pull_request_rules. It must now be used under the queue_rules configuration.
A brownout is planned on September 16th, 2024.
This option will be removed on October 21st, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules

✅ Rule: remove outdated approvals (dismiss_reviews)

  • base~=^(main)|(release-.+)$

Rule: merge after two approvals (no API changes) (delete_head_branch)

  • label!=api
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • base~=^(main)|(release-.+)$
  • closed [📌 delete_head_branch requirement]
  • label!=DNM
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test

Rule: merge after two approvals (no API changes) (queue)

  • -closed [📌 queue requirement]
  • label!=api
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • base~=^(main)|(release-.+)$
  • label!=DNM
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]

Rule: merge after two approvals (no API changes) (dismiss_reviews)

  • label!=api
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • base~=^(main)|(release-.+)$
  • label!=DNM
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test

✅ Rule: API changes needs approval from a contributor and a reviewer (delete_head_branch)

  • #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
  • base~=^(main)|(release-.+)$
  • closed [📌 delete_head_branch requirement]
  • label!=DNM
  • label=api
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test

Rule: API changes needs approval from a contributor and a reviewer (queue)

  • -closed [📌 queue requirement]
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • approved-reviews-by=@csi-addons/kubernetes-csi-addons-contributors
  • approved-reviews-by=@csi-addons/kubernetes-csi-addons-reviewers
  • base~=^(main)|(release-.+)$
  • label!=DNM
  • label=api
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]

✅ Rule: API changes needs approval from a contributor and a reviewer (dismiss_reviews)

  • #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
  • base~=^(main)|(release-.+)$
  • label!=DNM
  • label=api
  • status-success=build_bundle
  • status-success=build_controller
  • status-success=build_sidecar
  • status-success=codespell
  • status-success=go_mod_vendor
  • status-success=go_mod_verify
  • status-success=kind_deploy
  • status-success=make_test

Rule: pr title contains DNM (label)

  • title~=DNM

✅ Rule: label API change (label)

  • files~=^(api/)

Rule: label vendor change (label)

  • files~=^(vendor/)

Rule: request reviews from reviewers for API change (request_reviews)

  • -closed
  • -draft
  • files~=^(api/)

Rule: request reviews from regular contributors (request_reviews)

  • -closed
  • -draft

💖  Mergify is proud to provide this service for free to open source projects.

🚀  You can help us by becoming a sponsor!


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com