forked from dockserver/dockserver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mergify.yml
79 lines (79 loc) · 1.99 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
pull_request_rules:
- name: Automatic welcome on new pr
conditions:
- "#approved-reviews-by>=1"
- author!=dependabot[bot]
- "-closed"
actions:
comment:
message: |
Thanks for opening this pull request!
Please check out the [Contributing Guidelines](https://github.com/dockserver/dockserver/blob/master/CONTRIBUTING.md).
- name: Assign author
conditions:
- "-closed"
- "#assignee=0"
actions:
assign:
users:
- "{{author}}"
- name: Label enhancement
conditions:
- head~=^feature\/[a-zA-Z0-9-_\/]+$|^feat\/[a-zA-Z0-9-_\/]+$
actions:
label:
add:
- enhancement
- name: Label bug
conditions:
- head~=^fix\/[a-zA-Z0-9-_\/]+$
actions:
label:
add:
- bug
- name: Label documentation
conditions:
- head~=^docs\/[a-zA-Z0-9-_\/]+$|^LinuxCommand\/[a-zA-Z0-9-_\/]+$|^LinuxTool\/[a-zA-Z0-9-_\/]+$
actions:
label:
add:
- documentation
- name: Label chore
conditions:
- head~=^chore\/[a-zA-Z0-9-_\/]+$
actions:
label:
add:
- chore
- name: Label dependencies
conditions:
- head~=^dependabot\/[a-zA-Z0-9-_\/]+$
actions:
label:
add:
- dependencies
- name: message check comment
conditions:
- author!=dependabot[bot]
- author!=doob187
- author!=drag0n141
- "-closed"
- "-merged"
actions:
comment:
message: |
@{{author}}
Please follow the [Contributing Guidelines](https://github.com/dockserver/dockserver/blob/master/CONTRIBUTING.md).
Before we can merg the PR , we will check the PR.
- name: conflict comment
conditions:
- "-closed"
- "-draft"
- "-merged"
- "conflict"
actions:
comment:
message: |
@{{author}}
There are some conflicts within your pull request.
Could you please fix them?