Skip to content

Commit

Permalink
chore: add renovate config
Browse files Browse the repository at this point in the history
Add renovate configuration, which updates main and release branches.
release branches are configure to have only security patches.

Signed-off-by: Karel Simon <[email protected]>
  • Loading branch information
ksimon1 committed Aug 12, 2024
1 parent f383b52 commit e9ce6a3
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"extends":[
":gitSignOff",
":dependencyDashboard"
],
"$schema":"https://docs.renovatebot.com/renovate-schema.json",
"baseBranches":[
"main",
"stable",
"release-v0.5",
"release-v0.4",
"release-v0.3",
"release-v0.1"
],
"prConcurrentLimit":3,
"groupName":"all dependencies",
"groupSlug":"all",
"lockFileMaintenance":{
"enabled":false
},
"labels":[
"release-note-none"
],
"constraints": {
"go": "1.22",
"matchBaseBranches":[
"main"
]
},
"packageRules":[
{
"groupName":"all dependencies",
"groupSlug":"all",
"matchBaseBranches":[
"main"
],
"matchPackagePatterns":[
"*"
]
},
{
"enabled":false,
"matchBaseBranches":[
"release-v0.5",
"release-v0.4",
"release-v0.3",
"release-v0.1",
"stable"
],
"matchPackagePatterns":[
"*"
]
},
{
"matchPackageNames":[
"golang",
"go"
],
"allowedVersions":"<=1.22",
"matchBaseBranches":[
"stable"
]
},
{
"matchPackageNames":[
"golang",
"go"
],
"allowedVersions":"<=1.21",
"matchBaseBranches":[
"release-v0.5"
]
},
{
"matchPackageNames":[
"golang",
"go"
],
"allowedVersions":"<=1.20",
"matchBaseBranches":[
"release-v0.4",
"release-v0.3"
]
},
{
"matchPackageNames":[
"golang",
"go"
],
"allowedVersions":"<=1.19",
"matchBaseBranches":[
"release-v0.1"
]
}
],
"vulnerabilityAlerts":{
"enabled":true
},
"osvVulnerabilityAlerts":true,
"assigneesFromCodeOwners":true,
"separateMajorMinor":false
}

0 comments on commit e9ce6a3

Please sign in to comment.