-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
42 lines (39 loc) · 1.3 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
pull_request_rules:
- name: Automatic queue on >=1 or >=2 approvals # rule for Auto-Queueing PRs to Default Merge Queue
conditions:
- and:
- "label!=no-merge"
- "label=okay-to-merge"
- and:
- author!=dependabot[bot] # if author is not dependabot
- author!=renovate[bot] # if author is not renovatebot
- or:
- and:
- "#approved-reviews-by>=2"
- "label=needs: 2 appeng approvals"
- and:
- "#approved-reviews-by>=1"
- "label!=needs: 2 appeng approvals"
- schedule=Mon-Fri 09:00-19:00[America/Los_Angeles] # schedule the PRs to be queued during PST work hours
actions:
queue:
name: default
- name: automatic merge from dependabot # rule for Auto-Queueing PRs to Dependabot Merge Queue
conditions:
- and:
- "#approved-reviews-by >= 1"
- or:
- author=dependabot[bot]
- author=renovate[bot]
actions:
queue:
name: dependabot-merge-queue
queue_rules:
- name: default # default merge queue
queue_conditions:
- "#approved-reviews-by >= 1"
merge_method: squash
- name: dependabot-merge-queue # dependabot merge queue
queue_conditions:
- "#approved-reviews-by >= 1"
merge_method: squash