Skip to content

Commit

Permalink
build(ci): mergify rules for backporting to release/v3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
inon-man committed Aug 9, 2024
1 parent c5268e1 commit 8aff783
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
defaults:
actions:
backport:
assignees:
- "{{ author }}"

queue_rules:
- name: default
conditions:
- "#approved-reviews-by>2"
- "#approved-reviews-by>1"
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
- name: Automatic merge on approval to the main branch
conditions:
- "#approved-reviews-by>2"
- "#approved-reviews-by>=1"
- base=main
- label=A:automerge
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: backport patches to v2.1.x branch
- name: Backport patches to release/v3.1.x branch
conditions:
- base=main
- label=backport/v2.1.x
- label=backport/v3.1.x
actions:
backport:
branches:
- release/v2.1.x
- release/v3.1.x

0 comments on commit 8aff783

Please sign in to comment.