-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.mergify.yml
More file actions
41 lines (41 loc) · 1.19 KB
/
.mergify.yml
File metadata and controls
41 lines (41 loc) · 1.19 KB
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: Label Mergify Stacks PRs
description: Pull requests that are part of a Mergify stack should be labeled as such
conditions:
- "commits[0].commit_message ~= (?m)Change-Id:"
actions:
label:
toggle:
- stack
- name: Ping PR author when conflicting
description: Warn the pull request author when their PR are conflicting
conditions:
- conflict
- -closed
actions:
comment:
message: >
👋 {{author}} your PR is conflicting and needs to be updated to be
merged
- name: Label conflicting pull requests
description: Add a label to a pull request with conflict to spot it easily
conditions:
- conflict
- -closed
actions:
label:
toggle:
- conflict
- name: Request review from team
description: Request review from a specific team when checks are green.
conditions:
- -closed
- "#approved-reviews-by = 0"
- "#changes-requested-reviews-by = 0"
- review-requested != @docs-review
actions:
request_reviews:
teams:
- docs-review
merge_protections_settings:
reporting_method: check-runs