40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||
|
|
"extends": [
|
||
|
|
"config:recommended",
|
||
|
|
":dependencyDashboard",
|
||
|
|
":semanticCommits"
|
||
|
|
],
|
||
|
|
"labels": ["renovate"],
|
||
|
|
"github-actions": {
|
||
|
|
"fileMatch": ["^\\.gitea/workflows/[^/]+\\.ya?ml$"]
|
||
|
|
},
|
||
|
|
"packageRules": [
|
||
|
|
{
|
||
|
|
"description": "Group nginx base image updates",
|
||
|
|
"matchManagers": ["dockerfile"],
|
||
|
|
"groupName": "docker base image"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"customManagers": [
|
||
|
|
{
|
||
|
|
"customType": "regex",
|
||
|
|
"description": "Update HTML dependencies annotated with a renovate comment, e.g. <!-- renovate: datasource=npm depName=bootstrap --> before the versioned URL",
|
||
|
|
"fileMatch": ["\\.html$"],
|
||
|
|
"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",
|
||
|
|
"fileMatch": ["\\.html$"],
|
||
|
|
"matchStrings": [
|
||
|
|
"https://cdn\\.jsdelivr\\.net/npm/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)",
|
||
|
|
"https://unpkg\\.com/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)"
|
||
|
|
],
|
||
|
|
"datasourceTemplate": "npm"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|