You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/mergify.yml
+38-6
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,41 @@
1
+
misc:
2
+
- branch: &BRANCHES
3
+
# In this pull request, the changes are based on the master branch
4
+
- &MASTER_BRANCH base=master
5
+
# In this pull request, the changes are based on the 2.x(or 2.x.x) branch
6
+
- &2X_BRANCH base~=^2(\.\d+){1,2}$
7
+
1
8
pull_request_rules:
9
+
- name: Add needs-dco label when DCO check failed
10
+
conditions:
11
+
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES
12
+
- or: *BRANCHES
13
+
- -status-success=DCO
14
+
actions:
15
+
label:
16
+
remove:
17
+
- dco-passed
18
+
add:
19
+
- needs-dco
20
+
comment:
21
+
message: |
22
+
@{{author}} Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco.
23
+
24
+
- name: Add dco-passed label when DCO check passed
25
+
conditions:
26
+
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES
27
+
- or: *BRANCHES
28
+
- status-success=DCO
29
+
actions:
30
+
label:
31
+
remove:
32
+
- needs-dco
33
+
add:
34
+
- dco-passed
35
+
2
36
- name: Test passed for code changed
3
37
conditions:
4
-
- base=master
38
+
- or: *BRANCHES
5
39
- "status-success=Build and test AMD64 Ubuntu 20.04"
6
40
- "status-success=Build and test AMD64 Ubuntu 22.04"
7
41
- "status-success=Build and test AMD64 Fedora 38"
@@ -15,7 +49,7 @@ pull_request_rules:
15
49
16
50
- name: Remove ci-passed when build failed
17
51
conditions:
18
-
- base=master
52
+
- or: *BRANCHES
19
53
- or:
20
54
- "check-failure=Build and test AMD64 Ubuntu 20.04"
21
55
- "check-failure=Build and test AMD64 Ubuntu 22.04"
0 commit comments