Skip to content

Commit

Permalink
ci: change automerge conditions of Mergify (#523)
Browse files Browse the repository at this point in the history
* ci: change automerge conditions of Mergify

* ci: change automerge conditions of Mergify
  • Loading branch information
zemyblue authored May 9, 2022
1 parent fc3ab2c commit be2ba3e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
queue_rules:
- name: default
conditions:
- "#approved-reviews-by>1"

pull_request_rules:
- name: automerge to master with label automerge and branch protection passing
- name: automerge to main with label automerge and branch protection passing
conditions:
- "#approved-reviews-by>1"
- base=master
- base=main
- label=automerge
actions:
merge:
queue:
name: default
method: squash
strict: true
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}

0 comments on commit be2ba3e

Please sign in to comment.