Skip to content

Commit

Permalink
tools: add mergify (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
alchemist-ti authored Jun 27, 2023
1 parent 9d73c0d commit b7c3be9
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>2"

pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
conditions:
- "#approved-reviews-by>2"
- base=main
- label=A:automerge
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: backport patches to v2.1.x branch
conditions:
- base=main
- label=backport/v2.1.x
actions:
backport:
branches:
- release/v2.1.x

0 comments on commit b7c3be9

Please sign in to comment.