Skip to content

Commit

Permalink
chore(github): Add mergify config (#627)
Browse files Browse the repository at this point in the history
Automatically merge PRs when
a) ready label is present and
b) ci passed
c) the PR has at least 1 approval by someone who is a member of oss-approvers group

Also, automatically merge kork autoBumps on CI success
  • Loading branch information
marchello2000 authored Oct 18, 2019
1 parent d1edf69 commit fde9a03
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pull_request_rules:
- name: Automatically merge on CI success and review
conditions:
- status-success=continuous-integration/travis-ci/pr
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
actions:
merge:
method: squash
strict: smart
- name: Automatically merge kork autobump PRs on CI success
conditions:
- status-success=continuous-integration/travis-ci/pr
- "label~=autobump-*"
- "author:spinnakerbot"
actions:
merge:
method: squash
strict: smart

0 comments on commit fde9a03

Please sign in to comment.