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}} )" }