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 Jul 29, 2024
1 parent f383b52 commit 77c5657
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"$schema":"https://docs.renovatebot.com/renovate-schema.json",
"baseBranches":[
"main",
"release-v0.5",
"release-v0.4",
"release-v0.3",
"release-v0.1"
],
"constraints":{
"go":"1.22"
},
"prConcurrentLimit":3,
"groupName":"all dependencies",
"groupSlug":"all",
"lockFileMaintenance":{
"enabled":false
},
"labels":[
"release-note-none"
],
"extends":[
":gitSignOff"
],
"packageRules":[
{
"groupName":"all dependencies",
"groupSlug":"all",
"matchBaseBranches":[
"main"
],
"matchPackagePatterns":[
"*"
]
},
{
"enabled":false,
"matchBaseBranches":[
"release-v0.5",
"release-v0.4",
"release-v0.3",
"release-v0.1"
],
"matchPackagePatterns":[
"*"
]
},
{
"matchPackageNames":[
"golang"
],
"allowedVersions":"<=1.21",
"matchBaseBranches":[
"release-v0.5"
]
},
{
"matchPackageNames":[
"golang"
],
"allowedVersions":"<=1.20",
"matchBaseBranches":[
"release-v0.4",
"release-v0.3"
]
},
{
"matchPackageNames":[
"golang"
],
"allowedVersions":"<=1.19",
"matchBaseBranches":[
"release-v0.1"
]
}
],
"vulnerabilityAlerts":{
"enabled":true
},
"osvVulnerabilityAlerts":true,
"assigneesFromCodeOwners":true,
"separateMajorMinor":false
}

0 comments on commit 77c5657

Please sign in to comment.