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