-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
49 lines (48 loc) · 1.58 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
queue_rules: []
pull_request_rules:
- name: Make sure PR are up to date before merging
description: This automatically updates PRs when they are out-of-date with the
base branch to avoid semantic conflicts (next step is using a merge
queue).
conditions: []
actions:
update:
- name: Ping PR author when conflicting
description: Warn the pull request author when their PRs are conflicting
conditions:
- conflict
- -closed
actions:
comment:
message: >
‼️ Hey {{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: Add a queue label when PR is queued
description: Toggle the queue label when a pull request is (un)queued.
conditions:
- queue-position > 0
actions:
label:
toggle:
- merge-queued
- name: Notify when a PR is removed from the queue
description: Notify the PR author when its pull request is removed from the merge queue.
conditions:
- queue-dequeue-reason != none
- queue-dequeue-reason != pr-merged
actions:
comment:
message: >
‼️ Hey @{{author}}! Your pull request has been dequeued due to the
following reason: {{queue_dequeue_reason}}.
When you've fixed the issue, comment `@mergifyio requeue` to requeue
your pull request!