forked from MozillaFoundation/foundation.mozilla.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
25 lines (25 loc) · 909 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
pull_request_rules:
- name: Automatic merge for dependabot PRs
conditions:
- "#approved-reviews-by>=1"
- author~=^dependabot(|-preview)\[bot\]$
- "status-success=percy/foundation.mozilla.org"
- "status-success=Continuous Integration / Node CI (pull_request)"
- "status-success=Continuous Integration / Wagtail CI (pull_request)"
actions:
merge:
method: squash
strict_method: rebase
strict: true
- name: Automatic merge for PRs labelled "ready to merge"
conditions:
- "#approved-reviews-by>=1"
- "status-success=percy/foundation.mozilla.org"
- "status-success=Continuous Integration / Node CI (pull_request)"
- "status-success=Continuous Integration / Wagtail CI (pull_request)"
- "label=ready-to-merge"
actions:
merge:
method: squash
strict_method: rebase
strict: true