-
Notifications
You must be signed in to change notification settings - Fork 365
/
mergify.yml
28 lines (27 loc) · 914 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
pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
- author~=^dependabot(|-preview)\[bot\]$
# - check-success=build # matrix jobs aren't working in mergify
- -label~="do-not-merge"
- "#approved-reviews-by>=1" # until we exclude major versions in dependabot
actions:
merge:
strict: false
method: squash
commit_message: title+body
- name: Automatic merge ⬇️ on approval ✔
conditions:
- base!=master
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- -title~=(WIP|wip)
# - check-success=build # matrix jobs aren't working in mergify
- check-success=Semantic Pull Request
- body~=(?m)^\[X\] Meet tenets criteria
actions:
merge:
strict: smart
method: squash
strict_method: merge
commit_message: title+body