Skip to content

Commit

Permalink
Merge pull request #24 from allez-allez-allez/auto-merge
Browse files Browse the repository at this point in the history
Adds ability to auto approve and merge Dependabot PRs
  • Loading branch information
confusdcodr authored Oct 17, 2019
2 parents d205619 + c2ec084 commit ced646c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.1
current_version = 1.0.2
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
16 changes: 16 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
pull_request_rules:
- name: automatic approve dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- status-success=Travis CI - Pull Request
actions:
review:
type: APPROVE

- name: automatic merge for dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- "#approved-reviews-by>=1"
actions:
merge:
method: merge

0 comments on commit ced646c

Please sign in to comment.