From 26d1ab165a31c957cb385f6a7ce761a52f9efc88 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Fri, 30 Aug 2024 11:02:06 +0200 Subject: [PATCH] ci: add mergify (#361) * ci: add mergify * add backport for v0.11.x --- .github/mergify.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..2e1df64 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,44 @@ +queue_rules: + - name: default + conditions: + - "#approved-reviews-by>=1" + - base=master + - label=automerge + +pull_request_rules: + - name: automerge to main with label automerge and branch protection passing + conditions: + - "#approved-reviews-by>=1" + - base=main + - label=automerge + actions: + queue: + name: default + method: squash + commit_message_template: | + {{ title }} (#{{ number }}) + {{ body }} + - name: backport patches to release/v0.9.x branch + conditions: + - base=main + - label=backport:v0.9.x + actions: + backport: + branches: + - release/v0.9.x + - name: backport patches to release/v0.10.x branch + conditions: + - base=main + - label=backport:v0.10.x + actions: + backport: + branches: + - release/v0.10.x + - name: backport patches to release/v0.11.x branch + conditions: + - base=main + - label=backport:v0.11.x + actions: + backport: + branches: + - release/v0.11.x \ No newline at end of file