-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.mergify.yml
More file actions
88 lines (88 loc) · 2.47 KB
/
Copy path.mergify.yml
File metadata and controls
88 lines (88 loc) · 2.47 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
pull_request_rules:
- 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: 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: Assign t-shirt size to PR
description: Assign a t-shirt size label to a pull request based on the number of
lines changed.
conditions:
- "#modified-lines >= 100"
- "#modified-lines < 500"
actions:
label:
toggle:
- size/L
- name: automatic merge for scala-steward pull requests affecting build.sbt
conditions:
- author=rechemendia
- check-success=linter
- check-success=sonar
- "#files=1"
- files=build.sbt
actions:
merge:
method: rebase
- name: automatic merge for scala-steward pull requests affecting project plugins.sbt
conditions:
- check-success=linter
- check-success=sonar
- "#files=1"
- files=project/plugins.sbt
actions:
merge:
method: rebase
- name: semi-automatic merge for scala-steward pull requests
conditions:
- author=rechemendia
- check-success=linter
- check-success=sonar
- "#approved-reviews-by>=1"
actions:
merge:
method: rebase
- name: automatic merge for scala-steward pull requests affecting project
build.properties
conditions:
- author=rechemendia
- check-success=linter
- check-success=sonar
- "#files=1"
- files=project/build.properties
actions:
merge:
method: rebase
- name: automatic merge for scala-steward pull requests affecting .scalafmt.conf
conditions:
- author=rechemendia
- check-success=linter
- check-success=sonar
- "#files=1"
- files=.scalafmt.conf
actions:
merge:
method: rebase
merge_protections_settings:
reporting_method: check-runs