Skip to content

Commit

Permalink
ci: create sharable Renovate configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed Feb 10, 2021
1 parent 7c94324 commit 13f629c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
{
"extends": [
"config:base",
":dependencyDashboard",
":pinDependencies",
":timezone(Europe/Amsterdam)"
],
"ignorePresets": [":prHourlyLimit2"],
"lockFileMaintenance": {
"enabled": true,
"dependencyDashboardApproval": true
},
"major": {
"stabilityDays": 3
},
"packageRules": [
{
"description": "Auto-merge dependencies",
"depTypeList": ["devDependencies", "dependencies"],
"updateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true
}
],
"prCreation": "not-pending"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>vidavidorra/.github"]
}
38 changes: 38 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Default preset for use with vidavidorra's repos",
"extends": [
"config:base",
":automergeBranch",
":dependencyDashboard",
":maintainLockFilesWeekly",
":prNotPending",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
"docker:enableMajor",
"docker:pinDigests",
"group:linters"
],
"packageRules": [
{
"description": "Auto-merge dependencies",
"depTypeList": ["devDependencies", "dependencies"],
"updateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true
},
{
"description": "Auto-merge non-major updates for npm and docker",
"matchManagers": ["npm", "docker"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"automerge": true
},
{
"description": "Group prettier packages",
"matchPackageNames": ["prettier"],
"matchPackagePatterns": ["^@prettier\\/", "^prettier-plugin-"],
"groupName": "prettier packages"
}
],
"stabilityDays": 3
}

0 comments on commit 13f629c

Please sign in to comment.