-
Notifications
You must be signed in to change notification settings - Fork 20
/
.mergify.yml
63 lines (62 loc) · 1.56 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
queue_rules:
- name: default
conditions:
- status-success=Vercel
pull_request_rules:
- name: Automatic merge of Snyk dependency upgrades (bot)
conditions:
- author=snyk-bot
- -conflict
- status-success=Vercel
actions:
queue:
method: squash
name: default
- name: Automatic merge of Snyk dependency upgrades (me)
conditions:
- author=lwojcik
- title~=[Snyk]
- title~=Upgrade
- -conflict
- status-success=Vercel
actions:
queue:
method: squash
name: default
- name: Automatic merge of Dependabot dependency upgrades
conditions:
- author=dependabot[bot]
- -conflict
- status-success=Vercel
actions:
queue:
method: squash
name: default
- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix it @{{author}}?
- name: Automatic merge of owner-made PRs for main when CI passes and owner approves
conditions:
- status-success=Vercel
- author=lwojcik
- base=main
- label!=work-in-progress
- label=ready-to-merge
actions:
queue:
method: squash
name: default
- name: Automatic merge of PRs for main when CI passes and owner approves
conditions:
- status-success=Vercel
- base=main
- label!=work-in-progress
- approved-reviews-by=lwojcik
- label=ready-to-merge
actions:
queue:
method: squash
name: default