-
Notifications
You must be signed in to change notification settings - Fork 292
/
.mergify.yml
25 lines (23 loc) · 974 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
# Using a Merge queue makes Mergify automatically keep the PR
# up-to-date with 'main', one PR at a time.
queue_rules:
- name: default_queue
conditions:
- "check-success=build"
pull_request_rules:
- name: Automatic squash merge on approval
conditions:
- and:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "check-success=build"
- "check-success=cypress"
actions:
comment:
message: Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to [allow changes to be pushed to your fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)).
queue:
name: default_queue
method: squash
commit_message_template: |-
{{ title }} (#{{number}})
{{ body }}