Sfoglia il codice sorgente

Enable regex as manager

Add regex for matchstring line
Peter 2 anni fa
parent
commit
072cbe62de
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      .github/renovate.json

+ 9 - 1
.github/renovate.json

@@ -9,5 +9,13 @@
     "@magiccc"
     "@magiccc"
   ],
   ],
   "baseBranches": ["staging"],
   "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>.*)"
+       ]
+    }
+  ]
 }
 }