forked from herbstluftwm/herbstluftwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
39 lines (36 loc) · 1.41 KB
/
.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
36
37
38
39
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=Build and test on current ubuntu
- check-success=Build with Clang, run linters and static analyzers
- check-success=Build for 32bit with ancient GCC on Ubuntu 14.04
pull_request_rules:
- name: automatic merge on CI success and review
conditions:
- base=master
- check-success=Build and test on current ubuntu
- check-success=Build with Clang, run linters and static analyzers
- check-success=Build for 32bit with ancient GCC on Ubuntu 14.04
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- label!=wip
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: Implicitly allow t-wissmann to approve own pull requests
conditions:
- author=t-wissmann
- check-success=Build and test on current ubuntu
- check-success=Build with Clang, run linters and static analyzers
- check-success=Build for 32bit with ancient GCC on Ubuntu 14.04
- label!=wip
- label=self-approved
actions:
review:
type: APPROVE
message: "Approved via the `self-approved` label"