forked from etchteam/next-pagination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
30 lines (30 loc) · 827 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
pull_request_rules:
- name: Auto request reviews
conditions:
- author~=!^dependabot(|-preview)\[bot\]$
actions:
request_reviews:
users:
- DanWebb
- gavmck
random_count: 1
- name: Autosquash when checks pass and reviews are approved
conditions:
- and:
- author~=!^dependabot(|-preview)\[bot\]$
- label!=wontfix
- check-success=build
- check-success=SonarCloud Code Analysis
- "#approved-reviews-by>=1"
actions:
merge:
method: squash
- name: Autosquash security updates when checks pass
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- label!=wontfix
- check-success=build
- check-success=SonarCloud Code Analysis
actions:
merge:
method: squash