From 0fbb52308231c6c3d40f9c7d7a97e438697783f7 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Tue, 3 Oct 2023 20:52:16 +0300 Subject: [PATCH] ci(Mergify): configuration update Signed-off-by: neon_arch --- .mergify.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..8c2f886 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,18 @@ +pull_request_rules: + - name: Automatic merge on approval + conditions: + - "status-success=checks/approved" + - "#approved-reviews-by>=2" + actions: + queue: + method: squash + - name: automatic update of pull requests where more 5 commits behind + conditions: + - "#commits-behind>5" + actions: + update: + - name: delete head branch after merge + conditions: + - merged + actions: + delete_head_branch: {} \ No newline at end of file