From bf9d7e15e48fbbb253c0d759f325df6c2562db46 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Mon, 29 Jan 2024 15:43:19 -0500 Subject: [PATCH] fix: update renovate grafana dashboard Signed-off-by: Devin Buhl --- .github/renovate/grafanaDashboards.json5 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/renovate/grafanaDashboards.json5 b/.github/renovate/grafanaDashboards.json5 index c450c218ec397..8a4bce5d5b58c 100644 --- a/.github/renovate/grafanaDashboards.json5 +++ b/.github/renovate/grafanaDashboards.json5 @@ -17,8 +17,9 @@ "(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$" ], "matchStrings": [ - "depName=\"(?.*)\"\\n.*?gnetId: (?\\d+)\\n.*?revision: (?\\d+)" + "depName=\"(?.*)\"\\n(?\\s+)gnetId: (?\\d+)\\n.+revision: (?\\d+)" ], + "autoReplaceStringTemplate": "depName=\"{{{depName}}}\"\n{{{indentation}}}gnetId: {{{packageName}}}\n{{{indentation}}}revision: {{{newValue}}}", "datasourceTemplate": "custom.grafana-dashboards", "versioningTemplate": "regex:^(?\\d+)$" } @@ -26,10 +27,10 @@ "packageRules": [ { "addLabels": ["renovate/grafana-dashboard"], - "matchDatasources": ["grafana-dashboards", "custom.grafana-dashboards"], + "matchDatasources": ["custom.grafana-dashboards"], "matchUpdateTypes": ["major"], + "semanticCommitType": "chore", "semanticCommitScope": "grafana-dashboards", - "semanticCommitType": "", "commitMessageTopic": "dashboard {{depName}}", "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" }