2026-06-11 16:07:10 +01:00
{
"$schema" : "https://docs.renovatebot.com/renovate-schema.json" ,
"extends" : [
"config:recommended" ,
":dependencyDashboard" ,
":semanticCommits"
] ,
"labels" : [ "renovate" ] ,
2026-06-11 17:04:40 +01:00
"semanticCommits" : "enabled" ,
"semanticCommitType" : "fix" ,
"semanticCommitScope" : "deps" ,
2026-06-11 16:07:10 +01:00
"github-actions" : {
2026-06-12 11:31:07 +01:00
"managerFilePatterns" : [ "/^\\.gitea/workflows/[^/]+\\.ya?ml$/" ]
2026-06-11 16:07:10 +01:00
} ,
"packageRules" : [
{
"description" : "Group nginx base image updates" ,
"matchManagers" : [ "dockerfile" ] ,
"groupName" : "docker base image"
2026-06-12 11:31:07 +01:00
} ,
{
"description" : "Commit every update as fix(deps) so each merged Renovate PR triggers a patch release. config:recommended pulls in :semanticPrefixFixDepsChoreOthers, which forces non-npm updates (Docker, Actions) to chore and would otherwise produce no release." ,
"matchPackageNames" : [ "*" ] ,
"semanticCommitType" : "fix"
2026-06-12 11:39:02 +01:00
} ,
{
"description" : "Auto-merge patch and minor updates once checks pass." ,
"matchUpdateTypes" : [ "patch" , "minor" ] ,
"automerge" : true
2026-06-11 16:07:10 +01:00
}
] ,
2026-06-12 11:39:02 +01:00
"platformAutomerge" : true ,
2026-06-11 16:07:10 +01:00
"customManagers" : [
{
"customType" : "regex" ,
"description" : "Update HTML dependencies annotated with a renovate comment, e.g. <!-- renovate: datasource=npm depName=bootstrap --> before the versioned URL" ,
2026-06-12 11:31:07 +01:00
"managerFilePatterns" : [ "/\\.html$/" ] ,
2026-06-11 16:07:10 +01:00
"matchStrings" : [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?[\\s\\S]*?(?<currentValue>v?\\d+\\.\\d+\\.\\d+[\\w.-]*)"
]
} ,
{
"customType" : "regex" ,
"description" : "Auto-detect versioned jsDelivr / unpkg npm assets in HTML" ,
2026-06-12 11:31:07 +01:00
"managerFilePatterns" : [ "/\\.html$/" ] ,
2026-06-11 16:07:10 +01:00
"matchStrings" : [
"https://cdn\\.jsdelivr\\.net/npm/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)" ,
"https://unpkg\\.com/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)"
] ,
"datasourceTemplate" : "npm"
}
]
}