-
Notifications
You must be signed in to change notification settings - Fork 2
/
.mergify.yml
50 lines (49 loc) · 1.54 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
41
42
43
44
45
46
47
48
49
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, semver-major)|(labels: sbt-plugin-update, semver-major)"
actions:
label:
add: ["type: breaking"]
- name: merge Scala Steward's PRs
conditions:
- base=master
- author=scala-steward
- status-success=ci
- "body~=(labels: library-update, semver-minor)|(labels: library-update, semver-patch)|(labels: sbt-plugin-update, semver-minor)|(labels: sbt-plugin-update, semver-patch)|(labels: scalafix-rule-update)|(labels: test-library-update)"
actions:
merge:
method: squash
- name: automatic merge for master when CI passes
conditions:
- base=master
- label=mergify-merge
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- 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: {}