From 74e80ac2ab8a894985406e7115c98fe7c097c24f Mon Sep 17 00:00:00 2001 From: Nolan Le <9296903+nolanle@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:06:42 +0700 Subject: [PATCH] ci(Mergify): configuration update (#7) --- .mergify.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index 8efaafa..61661f8 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,4 +1,30 @@ pull_request_rules: + - name: v0.1 feature-keygen backport + conditions: + - label=v0.1 + - label=feature-keygen + actions: + backport: + assignees: + - "{{ merged_by|replace('mergify[bot]', label|select('equalto', + 'community')|first|default(author)|replace('community', + '@kuglabs/core-team')) }}" + ignore_conflicts: true + labels: + - feature-keygen + branches: + - v0.1 + - name: Set automerge label on mergify backport PRs + conditions: + - author=mergify[bot] + - head~=^mergify/bp/ + - "#status-failure=0" + - -merged + - label!=no-automerge + actions: + label: + add: + - automerge - name: Label Mergify Stacks PRs description: Pull requests that are part of a Mergify stack should be labeled as such conditions: