Skip to content

Commit

Permalink
Add mergify rules (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Apr 25, 2020
1 parent f9a783c commit f627563
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .mergify.yml
@@ -0,0 +1,29 @@
pull_request_rules:
- name: automatic merge on CI success - admin
conditions:
- author=@yewstack/maintainers
- status-success=Travis CI - Pull Request
- label=automerge
actions:
merge:
method: rebase
- name: automatic merge on CI success - reviewed
conditions:
- "#approved-reviews-by>=1"
- status-success=Travis CI - Pull Request
actions:
merge:
method: rebase
- name: remove automerge label on CI failure
conditions:
- status-failure=Travis CI - Pull Request
- label=automerge
actions:
label:
remove:
- automerge
- name: remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews: {}

0 comments on commit f627563

Please sign in to comment.