Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add renovate json file #2992

Merged
merged 4 commits into from
Dec 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Thanks for taking the time to contribute! :smile:
- [Branches](#branches)
- [Pull Requests](#pull-requests)
- [Testing](#testing)
- [Dependencies](#dependencies)
- [Deployment](#deployment)

## CI status
Expand Down Expand Up @@ -338,6 +339,10 @@ This repository is exhaustively tested by [CircleCI](https://circleci.com/gh/cyp

To run local tests, consult the `README.md` of each package.

### Dependencies

We use [RenovateBot](https://renovatebot.com/) to automatically upgrade our dependencies. The bot keeps chugging using settings in [renovate.json](renovate.json) to open PRs and if they pass merge patches. Minor and major updates require manual merge.

## Deployment

We will try to review and merge pull requests quickly. After merging we
Expand Down
24 changes: 24 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": [
"config:base"
],
"automerge": true,
"major": {
"automerge": false
},
"minor": {
"automerge": false
},
"rangeStrategy": "pin",
"separateMultipleMajor": true,
"labels": ["type: dependencies"],
"commitMessage": "{{semanticPrefix}}Update {{depName}} to {{newVersion}} 🌟",
"prTitle": "{{semanticPrefix}}{{#if isPin}}Pin{{else}}Update{{/if}} dependency {{depName}} to version {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}{{newVersionMajor}}.x{{else}}{{newVersion}}{{/if}}{{/if}} 🌟",
"prHourlyLimit": 1,
"updateNotScheduled": false,
"timezone": "America/New_York",
"schedule": [
"after 10pm and before 5am on every weekday",
"every weekend"
]
}