From 169638dc9e170c1b2e433dbfee1960f9bd5772e9 Mon Sep 17 00:00:00 2001
From: Charles Olivier Savignac <sircharlo@gmail.com>
Date: Wed, 19 Jun 2024 20:29:54 -0400
Subject: [PATCH] ci(Mergify): configuration update

Signed-off-by: Charles Olivier Savignac <sircharlo@gmail.com>
---
 .mergify.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .mergify.yml

diff --git a/.mergify.yml b/.mergify.yml
new file mode 100644
index 00000000..9b1db20b
--- /dev/null
+++ b/.mergify.yml
@@ -0,0 +1,16 @@
+pull_request_rules:
+  - name: Automatic merge for trusted authors and dependabot
+    conditions:
+      - or:
+          - author=mtdvlpr
+          - author=sircharlo
+          - and:
+              - author=dependabot[bot]
+              - or:
+                 - title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
+                 - title~=^chore\(deps\). bump [^\s]+ from ([\d]+)\..+ to \1\.
+                 - title~=^chore\(deps-dev\). bump [^\s]+ from ([\d]+)\..+ to \1\.
+    actions:
+      update:
+      merge:
+        method: squash
\ No newline at end of file