Skip to content

Commit

Permalink
Add config for automergify.io (ethereum#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb authored Jun 15, 2019
1 parent 079d46b commit 6c7b434
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Source: https://doc.mergify.io/getting-started.html#configuration
pull_request_rules:
- name: Automatically merge on CI success and code review
conditions:
# Add this label when you are ready to automerge the pull request.
- label=automerge
# At least one approval required
- "#approved-reviews-by>=1"
# No pending changes requested
- "#changes-requested-reviews-by=0"
# Only enable this when the pull request is being merged into master
- "base=master"
# List of all the tests that should pass.
- "status-success=ci/circleci: end-to-end-sync-test"
- "status-success=ci/circleci: end-to-end-transfer-test"
- "status-success=ci/circleci: lint"
- "status-success=ci/circleci: unit-tests"
actions:
merge:
method: squash
# https://doc.mergify.io/strict-workflow.html
strict: smart
# Delete the branch
delete_head_branch:

0 comments on commit 6c7b434

Please sign in to comment.