Skip to content

Commit

Permalink
Create .mergify.yml (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez authored Apr 13, 2023
1 parent 01d4f7c commit caf5372
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
queue_rules:
- name: default
conditions:
- "#approved-reviews-by>1"

pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
conditions:
- "#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 v1.x.x branch
conditions:
- base=main
- label=backport/v1.x.x
actions:
backport:
branches:
- release/v1.x.x

0 comments on commit caf5372

Please sign in to comment.