move mergify.yml to .github
This commit is contained in:
23
.github/mergify.yml
vendored
Normal file
23
.github/mergify.yml
vendored
Normal 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!"
|
||||
Reference in New Issue
Block a user