Skip to content

Commit

Permalink
Configure renovate automerge
Browse files Browse the repository at this point in the history
We put the dev dependencies grouped auto-merge last, so that dev
dependency updates don't trigger new releases.

We enable weekly updates for the dev dependencies, and allow runtime
dependencies to be updated at any time.
  • Loading branch information
simu committed Nov 8, 2023
1 parent a3b320a commit d38c924
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,35 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"prHourlyLimit": 5,
"labels": ["dependency"],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["dependency", "bump:major"]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["dependency", "bump:minor"],
"automerge": true,
"platformAutomerge": true
},
{
"matchUpdateTypes": ["patch"],
"labels": ["dependency", "bump:patch"],
"automerge": true,
"platformAutomerge": true
},
{
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "devDependencies (non-major)",
"groupSlug": "dev-dependencies",
"labels": ["dependency"],
"automerge": true,
"platformAutomerge": true,
"extends": [ "schedule:weekly" ]
}
]
}

0 comments on commit d38c924

Please sign in to comment.