forked from playframework/playframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
40 lines (36 loc) · 1 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
defaults:
actions:
backport:
title: "[{{ destination_branch }}] {{ title }} (backport #{{ number }}) by @{{ author }}"
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success~=/ Ready To Merge$
pull_request_rules:
- name: Merge PRs that are ready
conditions:
- check-success~=/ Ready To Merge$
- check-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
actions:
queue:
method: merge
name: default
- name: Delete the PR branch and remove label after merge
conditions:
- merged
actions:
delete_head_branch: {}
label:
remove: [ "status:merge-when-green" ]
- name: Labeling for Scala Steward PR's
conditions:
- author=scala-steward
actions:
label:
add: [ "type:updates" ]