Skip to content

Commit

Permalink
chore: add mergify backport (cosmos#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Nov 24, 2022
1 parent c00c250 commit da766a3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
26 changes: 26 additions & 0 deletions .mergify.yaml
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 v0.19.x branch
conditions:
- base=master
- label=backport/0.19.x
actions:
backport:
branches:
- release/v0.19.x
10 changes: 0 additions & 10 deletions .mergify.yml

This file was deleted.

0 comments on commit da766a3

Please sign in to comment.