-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mergify.yml
38 lines (38 loc) · 1.31 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
pull_request_rules:
- name: assign and label scala-steward's PRs
conditions:
- author=scala-steward
actions:
assign:
users: [sideeffffect]
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:
- author=scala-steward
- status-success=ci
- "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: sbt-plugin-update, early-semver-build-metadata)|(labels: scalafix-rule-update)|(labels: test-library-update)"
actions:
merge:
method: squash
- name: automatic merge for master when CI passes
conditions:
- label=mergify-merge
- 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: {}