ci(Mergify): configuration update
Signed-off-by: neon_arch <mustafadhuleb53@gmail.com>
This commit is contained in:
parent
f9ac87bdba
commit
0fbb523082
1 changed files with 18 additions and 0 deletions
18
.mergify.yml
Normal file
18
.mergify.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
pull_request_rules:
|
||||
- name: Automatic merge on approval
|
||||
conditions:
|
||||
- "status-success=checks/approved"
|
||||
- "#approved-reviews-by>=2"
|
||||
actions:
|
||||
queue:
|
||||
method: squash
|
||||
- name: automatic update of pull requests where more 5 commits behind
|
||||
conditions:
|
||||
- "#commits-behind>5"
|
||||
actions:
|
||||
update:
|
||||
- name: delete head branch after merge
|
||||
conditions:
|
||||
- merged
|
||||
actions:
|
||||
delete_head_branch: {}
|
Loading…
Add table
Add a link
Reference in a new issue