setup-forgejo/renovate.json
2025-01-30 12:19:35 +01:00

40 lines
1.6 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>actions/renovate-config"],
"customManagers": [
{
"customType": "regex",
"description": "update runner in RUNNER_VERSION",
"fileMatch": ["^RUNNER_VERSION$"],
"matchStrings": ["(?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
"datasourceTemplate": "gitea-tags",
"depNameTemplate": "forgejo/runner",
"versioningTemplate": "semver",
"registryUrlTemplate": "https://code.forgejo.org"
},
{
"customType": "regex",
"description": "update runner in README.md",
"fileMatch": ["^README.md$"],
"matchStrings": [
"\\| runner-version \\| .+? \\| (?<currentValue>v\\d+\\.\\d+\\.\\d+) \\|"
],
"datasourceTemplate": "gitea-tags",
"depNameTemplate": "forgejo/runner",
"versioningTemplate": "semver",
"registryUrlTemplate": "https://code.forgejo.org"
},
{
"customType": "regex",
"description": "update runner in action.yml",
"fileMatch": ["^action.yml$"],
"matchStrings": [
"\\s+runner-version:\\s+description: .+?\\s+default: '(?<currentValue>v\\d+\\.\\d+\\.\\d+)'\\s"
],
"datasourceTemplate": "gitea-tags",
"depNameTemplate": "forgejo/runner",
"versioningTemplate": "semver",
"registryUrlTemplate": "https://code.forgejo.org"
}
]
}