-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mergify.yml
28 lines (28 loc) · 1.07 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
pull_request_rules:
- name: Add Documentation label for documentation changes, but not in source
conditions:
- "files~=^(docs/.*|README.md|CODE_OF_CONDUCT.md|CONTRIBUTING.md)$"
- "-files~=^src/Cake.Warp/.*$"
actions:
label:
add: ["Documentation"]
- name: Add build label when no change in source, and not in documentation
conditions:
- "-files~=^(docs/.*|README.md|CODE_OF_CONDUCT.md|CONTRIBUTING.md)$"
- "-files~=^src/Cake.Warp/.*$"
- "-title~=Cake.Core"
actions:
label:
add: ["Build"]
- name: "Add Breaking change when Cake.Core is mentioned in title"
conditions:
- "title~=Cake.Core"
actions:
label:
add: ["Breaking Change"]
- name: thank user and refer them to add themself as contributor
conditions:
- merged
actions:
comment:
message: "Thank you for your contribution, if you haven't already then feel free to add yourself as a contributors through the all-contributors bot. See https://allcontributors.org/docs/en/bot/usage for more information."