forked from trello-talk/Taco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
48 lines (47 loc) · 1.26 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
38
39
40
41
42
43
44
45
46
47
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
- name: Merge submodules automatically
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- label=dependabot-submodules
- base=dev
actions:
merge:
method: merge
- name: Merge non-breaking dependencies automatically
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- title~=from (?P<major>\d+).\d+.\d+ to (?P=major).\d+.\d+
- base=dev
actions:
merge:
method: merge
- name: Notify breaking dependencies automatically
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- title~=from (?P<major>\d+).\d+.\d+ to (?!(?P=major).\d+.\d+)
actions:
comment:
message: |
This PR features a major change and requires further approval.
request_reviews:
users:
- Snazzah
- Yamboy1
- name: Notify bad bases in automatic PRs
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- base!=dev
actions:
comment:
message: |
This PR is not on the right branch.
request_reviews:
users:
- Snazzah
- Yamboy1