Adds a custom Renovate manager that reads the pinned Flutter version from .fvmrc and validates new versions against the ghcr.io/cirruslabs/flutter Docker registry. Renovate will only open a bump PR when the corresponding image tag actually exists, preventing CI breakage from unavailable images. Closes #447 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended"
|
|
],
|
|
"labels": ["dependencies"],
|
|
"github-actions": {
|
|
"enabled": false
|
|
},
|
|
"packageRules": [
|
|
{
|
|
"matchUpdateTypes": ["minor", "patch", "pin", "digest", "lockFileMaintenance"],
|
|
"addLabels": ["automerge"]
|
|
},
|
|
{
|
|
"matchManagers": ["gomod"],
|
|
"matchFileNames": ["ci/**"],
|
|
"enabled": false
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^\\.fvmrc$"],
|
|
"matchStrings": ["\"flutter\":\\s*\"(?<currentValue>[^\"]+)\""],
|
|
"depNameTemplate": "ghcr.io/cirruslabs/flutter",
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "semver"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^\\.forgejo/Dockerfile$"],
|
|
"matchStrings": ["DAGGER_VERSION=(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)"],
|
|
"depNameTemplate": "dagger/dagger",
|
|
"datasourceTemplate": "github-releases",
|
|
"extractVersionTemplate": "^v(?<version>.*)$"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^DAGGER\\.md$"],
|
|
"matchStrings": ["github:dagger/nix/v(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)#dagger"],
|
|
"depNameTemplate": "dagger/dagger",
|
|
"datasourceTemplate": "github-releases",
|
|
"extractVersionTemplate": "^v(?<version>.*)$"
|
|
}
|
|
]
|
|
}
|