forked from aws-powertools/powertools-lambda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmergify.yml
29 lines (27 loc) · 848 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
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=Semantic Pull Request
- "#approved-reviews-by>=1"
- -title~=(WIP|wip)
- -label~="do-not-merge"
- "#changes-requested-reviews-by=0"
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
actions:
queue:
method: squash
commit_message: title+body
- name: Automatic merge ⬇️ on approval ✔
conditions:
- base!=master
# - check-success=build # matrix jobs aren't working in mergify
- "#approved-reviews-by>=2"
actions:
queue:
method: squash
commit_message: title+body