forked from valora-inc/wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
25 lines (24 loc) · 839 Bytes
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
queue_rules:
- name: default
conditions:
# Conditions to get the queued pull request merged (on top of the branch protection rules from GitHub)
- '-merged'
pull_request_rules:
- name: Automatically merge on CI success and code review
conditions:
# Add this label when you are ready to automerge the pull request.
- 'label=automerge'
# Exclude drafts
- '-draft'
# At least one approval required
- '#approved-reviews-by>=1'
# Only enable this when the pull request is being merged into main
- 'base=main'
actions:
queue:
# Updates with latest from main, then merges once CI passes
name: default
method: squash
commit_message_template: "{{ title }} (#{{ number }})\n\n{{ body }}"
delete_head_branch:
force: False