move mergify.yml to .github

This commit is contained in:
Artur
2022-01-18 13:03:41 +01:00
parent 1ede2bb936
commit eb55958566

23
.github/mergify.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
pull_request_rules:
- name: Automatic approve on dependabot PR
conditions:
- author~=^dependabot(|-preview)\[bot\]$
actions:
review:
type: APPROVE
- name: Automatic merge on dependabot PR after success CI
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- '#commits-behind=0' # Only merge up to date pull requests
- check-success=build (windows-latest)
- check-success=build (ubuntu-latest)
- check-success=build (macos-latest)
actions:
merge:
- name: Thank contributor
conditions:
- merged
- -author~=^dependabot(|-preview)\[bot\]$
actions:
comment:
message: "Thank you @{{author}} for your contribution!"