71685f9419
Two fixes: 1. The regex was splitting the digest as a literal 'sha256:' prefix plus a captured hex group. But the docker datasource's newDigest already includes the 'sha256:' prefix, so the template was producing 'sha256:sha256:...' with the previous fix, or bare hex without it originally. Now the regex captures the full digest value including the prefix, and the template outputs it as-is. 2. Added a packageRule to group tag and digest updates for ghcr.io/openclaw/openclaw into a single PR instead of two separate ones.
106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"timezone": "America/Los_Angeles",
|
|
"gitAuthor": "Renovate Bot <renovate@ogle.fyi>",
|
|
"nix": {
|
|
"enabled": true
|
|
},
|
|
"github-actions": {
|
|
"managerFilePatterns": [
|
|
"/.gitea/workflows/.+\\.ya?ml$/"
|
|
]
|
|
},
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"schedule": [
|
|
"after 5pm and before 7pm on Saturday"
|
|
]
|
|
},
|
|
"dependencyDashboard": true,
|
|
"dependencyDashboardAutoclose": false,
|
|
"dependencyDashboardTitle": "NixOS Configs Dependency Dashboard",
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update openclaw Docker image tag and digest in Nix package",
|
|
"managerFilePatterns": [
|
|
"/^packages/openclaw-image/default\\.nix$/"
|
|
],
|
|
"matchStrings": [
|
|
" # renovate: datasource=(?<datasource>[^\\s]+) depName=(?<depName>[^\\s]+)\\n openclawImageTag = \"(?<currentValue>[^\"]+)\";\\n openclawImageDigest = \"(?<currentDigest>[^\"]+)\";"
|
|
],
|
|
"autoReplaceStringTemplate": " # renovate: datasource={{{datasource}}} depName={{{depName}}}\n openclawImageTag = \"{{{newValue}}}\";\n openclawImageDigest = \"{{{newDigest}}}\";"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Group all GitHub Actions updates",
|
|
"matchManagers": [
|
|
"github-actions"
|
|
],
|
|
"groupName": "github-actions"
|
|
},
|
|
{
|
|
"description": "Group stable NixOS ecosystem inputs",
|
|
"matchManagers": [
|
|
"nix"
|
|
],
|
|
"groupName": "nix-stable-ecosystem",
|
|
"matchPackageNames": [
|
|
"/^nixpkgs$/",
|
|
"/^home-manager$/",
|
|
"/^nix-darwin$/"
|
|
],
|
|
"schedule": [
|
|
"after 5pm and before 7pm on Saturday"
|
|
]
|
|
},
|
|
{
|
|
"description": "Group unstable NixOS ecosystem inputs",
|
|
"matchManagers": [
|
|
"nix"
|
|
],
|
|
"groupName": "nix-unstable-ecosystem",
|
|
"matchPackageNames": [
|
|
"/nixpkgs-unstable/",
|
|
"/home-manager-unstable/"
|
|
],
|
|
"schedule": [
|
|
"after 5pm and before 7pm on Saturday"
|
|
]
|
|
},
|
|
{
|
|
"description": "nixpkgs-qt updates on Saturday (staggered from main ecosystem)",
|
|
"matchManagers": [
|
|
"nix"
|
|
],
|
|
"matchPackageNames": [
|
|
"/nixpkgs-qt/"
|
|
],
|
|
"schedule": [
|
|
"after 7pm and before 9pm on Saturday"
|
|
]
|
|
},
|
|
{
|
|
"description": "Ignore private Gitea inputs (handle separately)",
|
|
"matchManagers": [
|
|
"nix"
|
|
],
|
|
"enabled": false,
|
|
"matchPackageNames": [
|
|
"/google-cookie-retrieval/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Group all openclaw Docker image updates into one PR",
|
|
"matchManagers": [
|
|
"regex"
|
|
],
|
|
"matchPackageNames": [
|
|
"ghcr.io/openclaw/openclaw"
|
|
],
|
|
"groupName": "openclaw"
|
|
}
|
|
]
|
|
}
|