forked from justswaporg/justlists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
30 lines (29 loc) · 990 Bytes
/
.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
pull_request_rules:
- name: Automatic merge
description: Merge when PR passes all branch protection and has label automerge
conditions:
- label = automerge
actions:
merge:
- name: Label Mergify Stacks PRs
description: Pull requests that are part of a Mergify stack should be labeled as such
conditions:
- 'body ~= ^Change-Id:'
actions:
label:
toggle:
- stack
- 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}}.
Sorry about that, but you can requeue the PR by using `@mergifyio
requeue` if you think this was a mistake.