diff --git a/.github/mergify.yml b/.github/mergify.yml
index f23d4bf5a03d1fb93b30be3462f92aa8b7beaee7..84ed8e8cbd0e2ece7f6a3e367e3ec4c7ac2b3a51 100644
--- a/.github/mergify.yml
+++ b/.github/mergify.yml
@@ -94,3 +94,11 @@ pull_request_rules:
       backport:
         branches:
           - v11.x
+  - name: backport patches to v12.x branch
+    conditions:
+      - base=main
+      - label=A:backport/v12.x
+    actions:
+      backport:
+        branches:
+          - v12.x