From 829d625514d5849c8651ca569a3f4a11b192a991 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Mon, 11 May 2026 21:52:18 -0700 Subject: [PATCH] fix(renovate): include sha256: prefix in openclaw digest autoReplace template The autoReplaceStringTemplate was outputting {{{newDigest}}} which resolves to just the hex hash (e.g. 04e2738...) without the sha256: prefix. Since the regex expects to match "sha256:(?)" and the file stores digests as "sha256:HASH", the replacement produced a digest value missing the prefix. Renovate detected this mismatch ("Digest is not updated") and failed with "Error updating branch: update failure". --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 23decbd..40aa29e 100644 --- a/renovate.json +++ b/renovate.json @@ -29,7 +29,7 @@ "matchStrings": [ " # renovate: datasource=(?[^\\s]+) depName=(?[^\\s]+)\\n openclawImageTag = \"(?[^\"]+)\";\\n openclawImageDigest = \"sha256:(?[^\"]+)\";" ], - "autoReplaceStringTemplate": " # renovate: datasource={{{datasource}}} depName={{{depName}}}\n openclawImageTag = \"{{{newValue}}}\";\n openclawImageDigest = \"{{{newDigest}}}\";" + "autoReplaceStringTemplate": " # renovate: datasource={{{datasource}}} depName={{{depName}}}\n openclawImageTag = \"{{{newValue}}}\";\n openclawImageDigest = \"sha256:{{{newDigest}}}\";" } ], "packageRules": [