2023-09-10 08:07:50 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2023-10-17 07:23:13 +00:00
|
|
|
"extends": ["github>woodpecker-ci/renovate-config"],
|
2024-10-05 08:08:07 +00:00
|
|
|
"automergeType": "pr",
|
2024-07-13 20:43:13 +00:00
|
|
|
"customManagers": [
|
|
|
|
{
|
|
|
|
"customType": "regex",
|
|
|
|
"fileMatch": ["shared/constant/constant.go"],
|
|
|
|
"matchStrings": [
|
2024-10-30 13:21:50 +00:00
|
|
|
"//\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+DefaultClonePlugin = \"docker.io/woodpeckerci/plugin-git:(?<currentValue>.*)\""
|
2024-07-13 20:43:13 +00:00
|
|
|
],
|
|
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
|
|
|
}
|
|
|
|
],
|
2023-09-10 08:07:50 +00:00
|
|
|
"packageRules": [
|
2024-04-03 14:19:52 +00:00
|
|
|
{
|
|
|
|
"matchCurrentVersion": "<1.0.0",
|
|
|
|
"matchPackageNames": ["github.com/distribution/reference"],
|
|
|
|
"matchUpdateTypes": ["major", "minor"],
|
|
|
|
"dependencyDashboardApproval": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchPackageNames": ["github.com/charmbracelet/huh/spinner"],
|
|
|
|
"enabled": false
|
|
|
|
},
|
2023-09-17 14:51:45 +00:00
|
|
|
{
|
|
|
|
"matchManagers": ["docker-compose"],
|
2024-04-15 07:39:58 +00:00
|
|
|
"matchFileNames": ["docker-compose.gitpod.yaml"],
|
2024-02-09 10:54:17 +00:00
|
|
|
"addLabels": ["devx"]
|
2023-09-11 06:57:20 +00:00
|
|
|
},
|
2023-10-11 09:51:59 +00:00
|
|
|
{
|
2024-04-03 07:48:14 +00:00
|
|
|
"groupName": "golang-lang",
|
2024-11-03 22:34:23 +00:00
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"matchPackageNames": ["/^golang$/", "/xgo/"]
|
2023-10-11 09:51:59 +00:00
|
|
|
},
|
2023-09-10 08:07:50 +00:00
|
|
|
{
|
2024-04-03 07:48:14 +00:00
|
|
|
"groupName": "golang-packages",
|
2023-09-10 08:07:50 +00:00
|
|
|
"matchManagers": ["gomod"],
|
2023-10-17 07:23:13 +00:00
|
|
|
"matchUpdateTypes": ["minor", "patch"]
|
2023-09-10 08:07:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["npm"],
|
2024-02-09 10:54:17 +00:00
|
|
|
"matchFileNames": ["web/package.json"],
|
|
|
|
"addLabels": ["ui"]
|
2023-09-10 08:07:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["npm"],
|
2024-02-09 10:54:17 +00:00
|
|
|
"matchFileNames": ["docs/**/package.json"],
|
|
|
|
"addLabels": ["documentation"]
|
2023-10-04 09:09:19 +00:00
|
|
|
},
|
2024-02-17 09:35:23 +00:00
|
|
|
{
|
|
|
|
"groupName": "web npm deps non-major",
|
|
|
|
"matchManagers": ["npm"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"matchFileNames": ["web/package.json"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"groupName": "docs npm deps non-major",
|
|
|
|
"matchManagers": ["npm"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"matchFileNames": ["docs/**/package.json"]
|
|
|
|
},
|
2023-10-04 09:09:19 +00:00
|
|
|
{
|
2024-10-30 13:21:50 +00:00
|
|
|
"description": "Extract version from xgo container tags",
|
2023-10-04 09:09:19 +00:00
|
|
|
"matchDatasources": ["docker"],
|
2024-11-03 22:34:23 +00:00
|
|
|
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.x$",
|
|
|
|
"matchPackageNames": ["/techknowlogick/xgo/"]
|
2023-09-10 08:07:50 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|