mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-06-20 12:54:14 -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
1 changed files with 23 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue