forked from hardbyte/python-can
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
33 lines (30 loc) · 869 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
queue_rules:
- name: default
conditions:
- "status-success=test,format" # "GitHub Actions works slightly differently [...], only the job name is used."
pull_request_rules:
- name: Automatic merge passing PR on up to date branch with approving CR
conditions:
- "base=develop"
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- "status-success=test,format"
- "label!=work-in-progress"
actions:
queue:
name: default
- name: Request Brian to review changes to the core API
conditions:
- "-files~=^can/interfaces/$"
- "-closed"
- "author!=hardbyte"
actions:
request_reviews:
users:
- hardbyte
- name: Delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}