From eebd452c02084266b6211670e06ff8aeee28d479 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 21:24:38 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 47 +++++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 612e0de8320..0b164468d37 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,30 +1,25 @@ -pull_request_rules: +merge_protections: + # Migrated from post_check rule 'Require approval from frontend or Armada maintainers for Lookout UI changes'. Dropped options with no equivalent: title - name: Require approval from frontend or Armada maintainers for Lookout UI changes - conditions: + if: - "#approved-reviews-by>=1" - actions: - post_check: - success_conditions: - - or: - - "-files~=^internal/lookoutui/" - - "#approved-reviews-by>=2" - - and: - - "#approved-reviews-by>=1" - - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx|EnricoMi|nikola-jokic|dslear|d2burkhalter|ianhockett|Sigele|williamvega|tgucks|YHines004|j8169)$" - title: Two approvals required, or one if author is a frontend or Armada maintainer. - + success_conditions: + - or: + - "-files~=^internal/lookoutui/" + - "#approved-reviews-by>=2" + - and: + - "#approved-reviews-by>=1" + - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx|EnricoMi|nikola-jokic|dslear|d2burkhalter|ianhockett|Sigele|williamvega|tgucks|YHines004|j8169)$" + # Migrated from post_check rule 'Require approval from Armada maintainers'. Dropped options with no equivalent: title - name: Require approval from Armada maintainers - conditions: + if: - "#approved-reviews-by>=1" - actions: - post_check: - success_conditions: - - or: - - and: - - "files~=^internal/lookoutui/" - - "-files~=^(?!internal/lookoutui/).*$" - - "#approved-reviews-by>=2" - - and: - - "#approved-reviews-by>=1" - - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx|EnricoMi|nikola-jokic|j8169)$" - title: Two approvals required, or one if author is a maintainer. + success_conditions: + - or: + - and: + - "files~=^internal/lookoutui/" + - "-files~=^(?!internal/lookoutui/).*$" + - "#approved-reviews-by>=2" + - and: + - "#approved-reviews-by>=1" + - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx|EnricoMi|nikola-jokic|j8169)$"