Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
chore(mergify): use template
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Dec 17, 2019
1 parent 1ef55fa commit b0f704f
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,32 @@ _templates:

pull_request_rules:
# Automatic Merging (humans)
- name: automatic merge
- <<: *pr
name: automatic merge
conditions:
- "#approved-reviews-by>=1"
- base=master
actions:
merge:
method: merge
strict: smart

- name: automatic merge without review
- <<: *pr
name: automatic merge without review
conditions:
- author=thislooksfun
- base=master
actions:
merge:
method: merge
strict: smart

# Automatic Merging (bots)
# These are awaiting #71
# - name: automatic merge from greenkeeper
# - <<: *pr
# name: automatic merge from greenkeeper
# conditions:
# - author=greenkeeper[bot]
# - status-success=greenkeeper/verify
# - base=master
# actions:
# merge:
# method: merge
# strict: smart
#
# - name: automatic merge from dependabot
# - <<: *pr
# name: automatic merge from dependabot
# conditions:
# - author~=^dependabot(|-preview)\[bot\]$
# - base=master
# actions:
# merge:
# method: merge
# strict: smart

# Quality of life
- name: Delete head branch after merge
Expand Down

0 comments on commit b0f704f

Please sign in to comment.