From dedb6e37a230b0e46cd4ab3a26ac7cb8c8997440 Mon Sep 17 00:00:00 2001 From: sudipto baral Date: Wed, 22 Jan 2025 12:28:46 -0500 Subject: [PATCH] add mergify rules. --- .mergify.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..bc14563 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,14 @@ +pull_request_rules: + - name: Require approval from UHS maintainers + conditions: + - "#approved-reviews-by>=1" + actions: + post_check: + success_conditions: + - or: + - "#approved-reviews-by>=2" + - and: + - "#approved-reviews-by>=1" + - "author~=^(dave[-]gantenbein|dejanzele|richscott|nikola[-]jokic|sudiptob2|dcoric|fabiovincenzi|pavlovic[-]ivan)" + title: + Two are checks required.