Update .mergify.yml

This commit is contained in:
Ivan Blinkov 2020-02-26 23:49:00 +03:00 committed by GitHub
parent a91775446c
commit 7f5188c44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,3 +7,30 @@ pull_request_rules:
actions:
merge:
method: merge
pull_request_rules:
- name: Automatic merge for Dependabot pull requests
conditions:
- "author~=^dependabot(|-preview)\[bot\]$"
- "#status-failure=1" # Description check
- "base=master"
actions:
merge:
method: merge
pull_request_rules:
- name: Automatic close for Dependabot pull requests
conditions:
- "author~=^dependabot(|-preview)\[bot\]$"
- "#status-failure>1"
- "base=master"
actions:
merge:
method: close
pull_request_rules:
- name:Aautomatic merge for ImgBot pull requests
conditions:
- a"uthor=imgbot[bot]"
- "#status-failure=1" # Description check
- "base=master"
actions:
merge:
method: merge