Skip to content

Commit

Permalink
chore: Simplify renovate config so it groups dependencies better.
Browse files Browse the repository at this point in the history
  • Loading branch information
hessjcg committed Nov 22, 2024
1 parent 21b2d13 commit 2fcad87
Showing 1 changed file with 19 additions and 35 deletions.
54 changes: 19 additions & 35 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,18 @@
{
"extends": [
"config:recommended",
":semanticCommitTypeAll(chore)",
":disableDependencyDashboard"
"config:recommended"
],
"ignorePresets": [
":semanticPrefixFixDepsChoreOthers"
],
"commitMessagePrefix": "deps: ",
"prConcurrentLimit": 0,
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"dependencyDashboardLabels": ["type: process"],
"semanticCommits": "enabled",
"commitMessagePrefix": "deps: ",
"postUpdateOptions": [
"gomodTidy"
],
"prConcurrentLimit": 5,
"packageRules": [
{
"description": "Disable MAJOR update types",
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"matchManagers": ["github-actions"],
"groupName": "Github action dependencies"
},
{
"matchPackagePatterns": [
"^kubernetes",
"^k8s.io/client-go",
"^sigs.k8s.io/controller-runtime",
"^sigs.k8s.io/controller-tools"
],
"groupName": "Kubernetes runtime dependencies"
},
{
"matchPackagePatterns": [
"^cert-manager/cert-manager",
Expand All @@ -48,20 +24,28 @@
"groupName": "Build Tools"
},
{
"groupName": "Non-major go dependency updates",
"matchPackagePatterns": [
"^kubernetes",
"^k8s.io/client-go",
"^sigs.k8s.io/controller-runtime",
"^sigs.k8s.io/controller-tools"
],
"matchManagers": ["gomod"],
"matchUpdateTypes": ["minor", "patch"]
"groupName": "Kubernetes runtime dependencies"
},
{
"matchManagers": ["dockerfile"],
"groupName": "Container image updates"
},
{
"groupName": "Non-major other dependency updates",
"groupName": "Go dependency updates",
"matchUpdateTypes": ["minor", "patch","pin","digest"]
},
{
"groupName": "Other dependency updates",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
}
],
"force": {
"constraints": {
"go": "1.20"
}
},
"regexManagers": [
{
"customType": "regex",
Expand Down

0 comments on commit 2fcad87

Please sign in to comment.