0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-21 23:10:40 +00:00
renovate-presets/opentofu.json

26 lines
764 B
JSON
Raw Normal View History

2024-02-09 09:51:26 +00:00
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with OpenTofu"],
"extends": ["github>thegeeklab/renovate-presets:base"],
"packageRules": [
{
"managers": ["terraform"],
"matchPackageNames": ["hashicorp/terraform"],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
2024-08-20 18:35:42 +00:00
"fileMatch": ["^terraform/.+.tf$", "^.woodpecker/.+.ya?ml$"],
2024-02-09 09:51:26 +00:00
"matchStrings": [
"required_version = \"?([=><\\s]+)?(?<currentValue>[^\"]+)\"?",
2024-02-09 09:51:26 +00:00
"tofu_version: \"?(?<currentValue>.*?)\"?\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "opentofu/opentofu",
"extractVersionTemplate": "^v?(?<version>.*)$"
}
]
}