forked from bpfman/bpfman-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
41 lines (38 loc) · 976 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
36
37
38
39
40
41
pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
- author=dependabot[bot]
- check-success=build-workflow-complete
- label!=hold
actions:
merge:
method: merge
- name: automatic merge conditions for main
conditions:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- base=main
- label!=hold
- label!=work-in-progress
- check-success=DCO
- check-success=build-workflow-complete
actions:
merge:
method: merge
- name: Warn on conflicts
conditions:
- conflict
actions:
comment:
message: "@{{author}}, this pull request is now in conflict and requires a rebase."
label:
add:
- needs-rebase
- name: remove conflict label if not needed
conditions:
- -conflict
actions:
label:
remove:
- needs-rebase