Skip to content

Commit

Permalink
Build: Add Mergify configuration (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradJChan authored Jun 19, 2019
1 parent f9aaf5e commit 5f10915
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pull_request_rules:
- name: Automatic strict merge
conditions:
- base=master
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-requested=0"
- status-success=Travis CI - Pull Request
- label=ready-to-merge
- label!=do-not-merge
actions:
merge:
method: squash
strict: smart
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Project Status](https://img.shields.io/badge/status-active-brightgreen.svg?style=flat-square)](http://opensource.box.com/badges/)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/box/box-content-preview&style=flat)](https://mergify.io)
[![Styled With Prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![build status](https://img.shields.io/travis/box/box-content-preview/master.svg?style=flat-square)](https://travis-ci.org/box/box-content-preview)
[![version](https://img.shields.io/badge/version-v2.12.0-blue.svg?style=flat-square)](https://github.com/box/box-content-preview)
Expand All @@ -22,7 +23,7 @@ Current Version
* Version: v2.12.0
* Locale: en-US

https://cdn01.boxcdn.net/platform/preview/2.12.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/2.12.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/2.12.0/en-US/preview.css

Supported Locales
Expand Down

0 comments on commit 5f10915

Please sign in to comment.