浏览代码

Enable regex as manager

Add regex for matchstring line
Peter 2 年之前
父节点
当前提交
072cbe62de
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      .github/renovate.json

+ 9 - 1
.github/renovate.json

@@ -9,5 +9,13 @@
     "@magiccc"
   ],
   "baseBranches": ["staging"],
-  "enabledManagers": ["github-actions"]
+  "enabledManagers": ["github-actions", "regex"],
+  "regexManagers": [
+    {
+      "fileMatch": ["^helper-scripts\/nextcloud.sh$"],
+      "matchStrings": [
+        "#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s.*?_VERSION=(?<currentValue>.*)"
+       ]
+    }
+  ]
 }