From 36a80865c0c23cc9064e5eb87b1b79ab42c6db33 Mon Sep 17 00:00:00 2001 From: Sudipto Baral Date: Wed, 22 Jan 2025 15:17:36 -0500 Subject: [PATCH] add mergify rules. (#405) --- .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.