woodpecker/.github/renovate.json

69 lines
2.1 KiB
JSON
Raw Normal View History

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>woodpecker-ci/renovate-config"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["shared/constant/constant.go"],
"matchStrings": [
"//\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+DefaultCloneImage = \"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",
2023-10-11 10:21:20 +00:00
"matchPackagePatterns": ["^golang$", "xgo"],
"matchUpdateTypes": ["minor", "patch"]
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
{
"matchDatasources": ["docker"],
"matchPackagePatterns": ["xgo"],
"versioning": "regex:^go-(?<major>\\d+)?(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))$"
}
]
}