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