Repository navigation
Expand file tree
/
Copy path.mergify.yml
More file actions
56 lines (54 loc) · 1.58 KB
/
Copy path.mergify.yml
File metadata and controls
56 lines (54 loc) · 1.58 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
pull_request_rules:
- name: Automatic merge when CI passes and PR is approved
conditions:
- status-success=pipeline
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
# Automatic merging on trivial scala-steward PRs
- name: automatic squash merge for scala-steward pull requests affecting build.sbt
conditions:
- author=scala-steward
- status-success=pipeline
- "#files=1"
- files=build.sbt
actions:
merge:
method: merge
- name: automatic squash merge for scala-steward pull requests affecting project plugins.sbt
conditions:
- author=scala-steward
- status-success=pipeline
- "#files=1"
- files=project/plugins.sbt
actions:
merge:
method: merge
- name: automatic squash merge for scala-steward pull requests affecting project build.properties
conditions:
- author=scala-steward
- status-success=pipeline
- "#files=1"
- files=project/build.properties
actions:
merge:
method: merge
- name: automatic squash merge for scala-steward pull requests affecting .scalafmt.conf
conditions:
- author=scala-steward
- status-success=pipeline
- "#files=1"
- files=.scalafmt.conf
actions:
merge:
method: merge
# Semi automatic merging if scala-steward PRs get more complex
- name: semi-automatic merge for scala-steward pull requests
conditions:
- author=scala-steward
- status-success=pipeline
- "#approved-reviews-by>=1"
actions:
merge:
method: merge