forked from Reuf12/apm-pipeline-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mergify.yml
More file actions
37 lines (36 loc) · 842 Bytes
/
.mergify.yml
File metadata and controls
37 lines (36 loc) · 842 Bytes
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
queue_rules:
- name: default
conditions:
- check-success=build
- check-success=licenses
- check-success=pre-commit
- check-success=CLA
pull_request_rules:
- name: Automatic squash and merge on approval with success checks and ready-to-merge label
conditions:
- "#approved-reviews-by>=2"
- label=ready-to-merge
- base=main
actions:
queue:
method: squash
name: default
- name: delete upstream branch that has been merged or closed
conditions:
- or:
- merged
- closed
- and:
- label=automation
- head~=^updatecli
actions:
delete_head_branch:
- name: assign PRs
conditions:
- -merged
- -closed
- "#assignee=0"
actions:
assign:
add_users:
- "{{author}}"