janhoy commented on code in PR #4273:
URL: https://github.com/apache/solr/pull/4273#discussion_r3056793191


##########
.github/renovate.json:
##########
@@ -4,9 +4,19 @@
   "enabled": true,
   "gitIgnoredAuthors": ["renovate-bot <[email protected]>"],
   "dependencyDashboard": false,
-  "enabledManagers": ["gradle", "github-actions"],
+  "enabledManagers": ["gradle", "github-actions", "regex"],
   "labels": ["exempt-stale"],
-  "includePaths": ["gradle/libs.versions.toml", "versions.*", "build.gradle", 
".github/workflows/*"],
+  "includePaths": ["gradle/libs.versions.toml", "versions.*", "build.gradle", 
".github/workflows/*", "solr/docker/templates/Dockerfile.body.template"],
+  "customManagers": [
+    {
+      "description": "Track gosu GitHub releases and update ARG GOSU_VERSION 
in Dockerfile template",
+      "customType": "regex",
+      "fileMatch": ["^solr/docker/templates/Dockerfile\\.body\\.template$"],
+      "matchStrings": ["ARG GOSU_VERSION=(?<currentValue>[^\\s]+)"],
+      "depNameTemplate": "tianon/gosu",
+      "datasourceTemplate": "github-releases"

Review Comment:
   This is not tested, a bit hard to dry-run these things, but is an attractive 
way to monitor version of a binary that would else fall between the cracks. The 
snippet is created by AI and I ran it through another AI to validate syntax. I 
suggest we do manual review and then test that it actaully works "live" post 
merge.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to