Create .mergify.yml (#59)

This commit is contained in:
Aleksandr Bezobchuk 2023-04-13 13:20:43 -04:00 committed by GitHub
parent 01d4f7ca71
commit caf53728b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.mergify.yml Normal file
View File

@ -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