-
Notifications
You must be signed in to change notification settings - Fork 4
/
.mergify.yml
35 lines (34 loc) · 978 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
33
34
35
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
pull_request_rules:
- name: Automatic merge on approval and successful build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge
delete_head_branch: {}
conditions:
- "#approved-reviews-by>=1"
- status-success=build
- name: Automatic merge PRs with auto-merge label upon successful build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge
delete_head_branch: {}
conditions:
- label=auto-merge
- status-success=build
- name: Merge pull requests from dependabot if CI passes
conditions:
- author=dependabot[bot]
- status-success=build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge