-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
.mergify.yml
32 lines (32 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
26
27
28
29
30
31
32
pull_request_rules:
- name: Automatic merge on approval
conditions:
- approved-reviews-by=Snazzah
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+
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
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
actions:
merge:
method: merge