-
Notifications
You must be signed in to change notification settings - Fork 75
/
.mergify.yml
40 lines (40 loc) · 1.36 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
pull_request_rules:
- name: assign and label scala-steward's PRs
conditions:
- author=scala-steward
actions:
assign:
users: ["@zio/zio-nio"]
label:
add: ["type: dependencies"]
- name: label scala-steward's breaking PRs
conditions:
- author=scala-steward
- "body~=(labels: library-update, early-semver-major)|(labels: sbt-plugin-update, early-semver-major)"
actions:
label:
add: ["type: breaking"]
- name: merge Scala Steward's PRs
conditions:
- base=master
- author=scala-steward
- "body~=(labels: library-update, early-semver-minor)|(labels: library-update, early-semver-patch)|(labels: sbt-plugin-update, early-semver-minor)|(labels: sbt-plugin-update, early-semver-patch)|(labels: scalafix-rule-update)|(labels: test-library-update)"
- "status-success=license/cla"
- "status-success=ci"
actions:
merge:
method: squash
- name: automatic update for PR marked mergify-update
conditions:
- -conflict # skip PRs with conflicts
- -draft # filter-out GH draft PRs
- label="mergify-update"
actions:
update: {}
- name: automatic update for dependency update PRs
conditions:
- -conflict # skip PRs with conflicts
- -draft # filter-out GH draft PRs
- "label=type: dependencies"
actions:
update: {}