forked from uber/baseweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
37 lines (35 loc) · 1.15 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
pull_request_rules:
- name: Automatic merge for renovate pull requests
conditions:
- author=renovate[bot]
- status-success=buildkite/baseweb
actions:
merge:
method: squash
# because of the setting below, PRs will be automatially updated with the latest master
strict: true
- name: Automatic merge for dependabot pull requests
conditions:
- author=dependabot[bot]
- status-success=buildkite/baseweb
actions:
merge:
method: squash
# because of the setting below, PRs will be automatially updated with the latest master
strict: true
- name: Automatic merge for master when CI passes and has 2 approvals
conditions:
- '#approved-reviews-by>=2'
- status-success=buildkite/baseweb
- status-success=probot/pr-label
- status-success=license/cla
- status-success=ci/codesandbox
- status-success=Vercel
- base=master
- -draft
- label!=work in progress
actions:
merge:
method: squash
# because of the setting below, PRs will be automatially updated with the latest master
strict: true