-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mergify.yml
55 lines (55 loc) · 1.45 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# GENERATED CONTENT
# remove repo from adrianjost/.github/synced/workflows/generator.js before editing
queue_rules:
- name: auto merge when ready to merge label is set
queue_conditions:
- label=ready to merge
merge_conditions: []
merge_method: merge
- name: branchProtection
queue_conditions:
- author~=dependabot(-preview)?\[bot\]
merge_conditions:
- '-merged'
merge_method: squash
pull_request_rules:
- name: label PRs with conflicts
conditions:
- conflict
actions:
label:
add:
- has conflicts
- name: remove has conflicts label if conflicts got resolved
conditions:
- label~=has conflicts
- '-conflict'
actions:
label:
remove:
- has conflicts
- name: let @adrianjost recreate dependabot PRs with conflicts
conditions:
- author~=dependabot(-preview)?\[bot\]
- conflict
actions:
comment:
message: Someone with write access should tell dependabot to recreate this PR.
- name: auto merge passing Dependabot pull requests + auto merge when ready to merge label is set
conditions: []
actions:
queue: {}
- name: remove ready to merge when merged
conditions:
- merged
- label=ready to merge
actions:
label:
remove:
- ready to merge
- name: delete merged branches
conditions:
- merged
- label!=WIP
actions:
delete_head_branch: {}