Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Dec 4, 2024
1 parent 5fdb53b commit 8d7e639
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
queue_rules:
- name: default
conditions:
- "#approved-reviews-by>1"

pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
conditions:
queue_conditions:
- "#approved-reviews-by>1"
- base=main
- label=A:automerge
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_conditions:
- "#approved-reviews-by>1"
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_method: squash

pull_request_rules:
- name: backport patches to v1.x.x branch
conditions:
- base=main
Expand All @@ -39,4 +35,8 @@ pull_request_rules:
actions:
backport:
branches:
- release/v2.x.x
- release/v2.x.x
- name: automerge to main with label automerge and branch protection passing
conditions: []
actions:
queue:

0 comments on commit 8d7e639

Please sign in to comment.