.mergify.yml
pull_request_rules:
# Automatically merge Dependabot Pull Requests
- name: Automatic merge for Dependabot
conditions:
- author=dependabot-preview[bot]
- status-success=Travis CI - Pull Request
- base=master
actions:
merge:
method: squash
strict: smart
# Delete branch after automatic merge
- name: Delete branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
# Remove outdated reviews
- name: Remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews:
approved: True
changes_requested: True