From 3478d174a65afd5b1c99d3af7f7abef328047136 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Sat, 2 Nov 2024 23:34:28 -0400 Subject: [PATCH] Update .github/renovate.json --- .github/renovate.json | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index e83e16c..e9f8533 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -6,27 +6,16 @@ "dependencyDashboardTitle": ":robot: Renovate Dashboard", "regexManagers": [ { - "description": "Process Docker YML files", + "description": "Process files", "fileMatch": [ - "docker/.+\\.y?ml$" + "docker/.+\\.y?ml$", + "terraform/.+\\tf.$" ], "matchStrings": [ - "version: (?\\S+)" + "datasource=(?\\S+) depName=(?\\S+)( versioning=(?\\S+))?\n.*?\"(?.*)\"\n" ], - "datasourceTemplate": "docker", - "currentValueTemplate": "{{{ currentValue }}}" - }, - { - "description": "Process Terraform modules", - "fileMatch": [ - "terraform/.+\\.tf$" - ], - "matchStrings": [ - "source\\s*=\\s*\"(?[^@]+)@(?\\S+)\"" - ], - "datasourceTemplate": "terraform", - "versioningTemplate": "semver", - "currentValueTemplate": "{{{ currentValue }}}" + "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" } ] }