From 7514baba81af4385e25dbce1276c6ced57dbcebc Mon Sep 17 00:00:00 2001 From: tuwafula <84623103+tuwafula@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:45:05 +0300 Subject: [PATCH] ci(Mergify): configuration update Signed-off-by: null --- .mergify.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 00000000..3d23de4b --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,42 @@ +pull_request_rules: + - name: Auto-close PRs on stable branch + conditions: + - and: + - and: + - author!=tuwafula + - author!=mergify[bot] + - or: + - base=version-16 + actions: + close: + comment: + message: | + @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on develop branch. + + - name: backport to develop + conditions: + - label="backport develop" + actions: + backport: + branches: + - develop + assignees: + - "{{ author }}" + + - name: backport to version-16-hotfix + conditions: + - label="backport version-16-hotfix" + actions: + backport: + branches: + - version-16-hotfix + assignees: + - "{{ author }}" + + - name: Automatic merge on CI success and review + conditions: + - status-success=linters + - "#approved-reviews-by>=1" + actions: + merge: + method: merge \ No newline at end of file