Skip to content

Commit

Permalink
Configure Renovate (#91)
Browse files Browse the repository at this point in the history
* Add renovate.json

* update default renovate config

* move renovate config file to .json5

* fix renovate schedule

* remove renovate schedule

* group packages together

* add dependency dashboard

* require dashboard approval for major node updates

* turn off prs for patch updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alice Rose <alice.rose@ecosia.org>
  • Loading branch information
renovate[bot] and heldinz committed Mar 3, 2023
1 parent 24660d2 commit 04dcbad
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":dependencyDashboard"
],
"prConcurrentLimit": 3, // only three PRs can be open at a time.
"timezone": "Europe/Berlin",
// Add some custom labels
// - {{manager}} adds the name of the manager used (https://docs.renovatebot.com/modules/manager/)
"labels": [
"dependencies",
"{{manager}}"
],
// Group package updates together in one PR
"packageRules": [
{
"matchPackagePatterns": ["^eslint", "^babel-eslint$"],
"groupName": "eslint packages"
},
{
"matchPackagePatterns": ["^jest", "^babel-jest$"],
"groupName": "jest packages"
},
{
"matchPackagePatterns": ["^@babel"],
"groupName": "@babel packages"
},
{
"matchPackagePatterns": ["^webpack", "^babel-loader$"],
"groupName": "webpack packages"
},
{
"matchPackagePatterns": ["^vue[^3]", "^@vue/test-utils$"],
"groupName": "vue2 packages"
},
{
"matchPackagePatterns": ["^vue3$", "^@vue/test-utils3$"],
"groupName": "vue3 packages"
},
{
"matchPackagePatterns": ["^node$"],
"groupName": "node",
"major": {
"dependencyDashboardApproval": true
}
}
],
"patch": {
"enabled": false
},
"assignees": [
"axlwaii",
"heldinz"
]
}

0 comments on commit 04dcbad

Please sign in to comment.