mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-28 21:01:08 +00:00
eb512f5b7b
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
71 lines
2.2 KiB
JSON
71 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["github>woodpecker-ci/renovate-config"],
|
|
"automergeType": "pr",
|
|
"enabledManagers": ["woodpecker"],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["shared/constant/constant.go"],
|
|
"matchStrings": [
|
|
"//\\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"],
|
|
"matchFileNames": ["docker-compose.gitpod.yaml"],
|
|
"addLabels": ["devx"]
|
|
},
|
|
{
|
|
"groupName": "golang-lang",
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"matchPackageNames": ["/^golang$/", "/xgo/"]
|
|
},
|
|
{
|
|
"groupName": "golang-packages",
|
|
"matchManagers": ["gomod"],
|
|
"matchUpdateTypes": ["minor", "patch"]
|
|
},
|
|
{
|
|
"matchManagers": ["npm"],
|
|
"matchFileNames": ["web/package.json"],
|
|
"addLabels": ["ui"]
|
|
},
|
|
{
|
|
"matchManagers": ["npm"],
|
|
"matchFileNames": ["docs/**/package.json"],
|
|
"addLabels": ["documentation"]
|
|
},
|
|
{
|
|
"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"]
|
|
},
|
|
{
|
|
"description": "Extract version from xgo container tags",
|
|
"matchDatasources": ["docker"],
|
|
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.x$",
|
|
"matchPackageNames": ["/techknowlogick/xgo/"]
|
|
}
|
|
]
|
|
}
|