mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge pull request #105 from comit-network/delete-merged-branch
Add Mergify rule to delete merged branch and bors+
This commit is contained in:
commit
b05a96d49b
23
.mergify.yml
Normal file
23
.mergify.yml
Normal file
@ -0,0 +1,23 @@
|
||||
pull_request_rules:
|
||||
- name: instruct bors to merge PRs with passing tests and 2 approvals
|
||||
conditions:
|
||||
- "#approved-reviews-by>=2"
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "status-success=static_analysis"
|
||||
- "-status-failure~=^build"
|
||||
- -conflict
|
||||
- label!=work-in-progress
|
||||
- label!=blocked
|
||||
- label!=no-mergify
|
||||
- head~=^(?!release.*).*$
|
||||
- base=dev
|
||||
actions:
|
||||
comment:
|
||||
message: "bors r+"
|
||||
- name: Delete branch if the pull request is merged
|
||||
conditions:
|
||||
- merged
|
||||
- head~=^(?!release.*).*$
|
||||
actions:
|
||||
delete_head_branch:
|
||||
force: false
|
Loading…
Reference in New Issue
Block a user