Create .mergify.yml (#59)
This commit is contained in:
parent
01d4f7ca71
commit
caf53728b7
26
.mergify.yml
Normal file
26
.mergify.yml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user