Skip to content

Commit

Permalink
mergify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cipher1024 committed Apr 1, 2019
1 parent 2851236 commit a4937ee
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .mergify.yml
@@ -0,0 +1,21 @@
pull_request_rules:
- name: automatic merge on CI success and review
conditions:
- status-success=continuous-integration/travis-ci/pr
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- base=master
- label=['ready-to-merge']
actions:
- delete_head_branch
- merge:
method: squash
- name: remove outdated reviews
conditions:
- status-success=continuous-integration/travis-ci/pr
- "#approved-reviews-by>=2"
actions:
- dismiss_reviews:
approved: True
- remove: ['ready-to-merge']

0 comments on commit a4937ee

Please sign in to comment.