mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-24 01:50:40 +00:00
30 lines
808 B
JSON
30 lines
808 B
JSON
{
|
|
"$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",
|
|
"fileMatch": [
|
|
"^terraform/.+\\.tf$",
|
|
"^.woodpecker/.+\\.ya?ml$",
|
|
"^.drone.ya?ml$"
|
|
],
|
|
"matchStrings": [
|
|
"required_version = \"?= (?<currentValue>.*?)\"?\\s",
|
|
"tofu_version: \"?(?<currentValue>.*?)\"?\\s"
|
|
],
|
|
"datasourceTemplate": "github-releases",
|
|
"depNameTemplate": "opentofu/opentofu",
|
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
|
}
|
|
]
|
|
}
|