woodpecker/.github/renovate.json

72 lines
2.2 KiB
JSON
Raw Normal View History

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>woodpecker-ci/renovate-config"],
"automergeType": "pr",
2024-10-30 13:21:50 +00:00
"enabledManagers": ["woodpecker"],
"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>.*)\""
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"packageRules": [
{
"matchCurrentVersion": "<1.0.0",
"matchPackageNames": ["github.com/distribution/reference"],
"matchUpdateTypes": ["major", "minor"],
"dependencyDashboardApproval": true
},
{
"matchPackageNames": ["github.com/charmbracelet/huh/spinner"],
"enabled": false
},
{
"matchManagers": ["docker-compose"],
2024-04-15 07:39:58 +00:00
"matchFileNames": ["docker-compose.gitpod.yaml"],
"addLabels": ["devx"]
},
2023-10-11 09:51:59 +00:00
{
"groupName": "golang-lang",
"matchUpdateTypes": ["minor", "patch"],
"matchPackageNames": ["/^golang$/", "/xgo/"]
2023-10-11 09:51:59 +00:00
},
{
"groupName": "golang-packages",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"matchManagers": ["npm"],
"matchFileNames": ["web/package.json"],
"addLabels": ["ui"]
},
{
"matchManagers": ["npm"],
"matchFileNames": ["docs/**/package.json"],
"addLabels": ["documentation"]
2023-10-04 09:09:19 +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"],
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.x$",
"matchPackageNames": ["/techknowlogick/xgo/"]
}
]
}