-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmergify.yml
More file actions
47 lines (47 loc) · 1.21 KB
/
mergify.yml
File metadata and controls
47 lines (47 loc) · 1.21 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
pull_request_rules:
- name: Add to queue when ready
conditions:
- -author~=^(rhods-ci-bot|red-hat-konflux\[bot\]|odh-devops-app\[bot\])$
- check-success=^ci\/prow.*
- check-success~=^"Red Hat Konflux".*
- "#approved-reviews-by>=1"
- -draft
- base~=(stable|main)
actions:
queue:
name: default
- name: Automatically merge version sync PRs
conditions:
- author = odh-devops-app[bot]
- title ~= ^sync rhoai version to \d+
actions:
merge:
- name: Auto rebase
conditions:
- base~=(stable|main)
- -conflict
actions:
rebase: {}
- name: Close stale PR
conditions:
- status-success=build
- -closed
- updated-at < 30 days 0 hours 0 minutes ago
actions:
close:
message: "Closing stale PR"
- name: Bypass
conditions:
- author~=^(rhods-ci-bot|red-hat-konflux\[bot\]|odh-devops-app\[bot\])$
actions:
merge:
method: squash
queue_rules:
- name: default
conditions:
- -author~=^(release-bot|ops-user)$
- check-success=^ci\/prow.*
- check-success~=^"Red Hat Konflux".*
- "#approved-reviews-by>=1"
- -draft
- base~=(stable|main)