From 3f7af3475b5945630a32a90ceaeec0de901a1dcd Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Fri, 30 May 2025 09:10:03 +0800 Subject: [PATCH] fix(renovate): managers fileMatch changed to managerFilePatterns --- .renovate/grafanaDashboards.json5 | 2 +- .renovaterc.json5 | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.renovate/grafanaDashboards.json5 b/.renovate/grafanaDashboards.json5 index 8cdffbe6..4f765675 100644 --- a/.renovate/grafanaDashboards.json5 +++ b/.renovate/grafanaDashboards.json5 @@ -12,7 +12,7 @@ { description: "Process Grafana dashboards", customType: "regex", - fileMatch: ["/(^|/)kubernetes/.+\\.ya?ml$/"], + managerFilePatterns: ["/(^|/)kubernetes/.+\\.ya?ml$/"], matchStrings: [ 'depName="(?.*)"\\n(?\\s+)gnetId: (?\\d+)\\n.+revision: (?\\d+)' ], diff --git a/.renovaterc.json5 b/.renovaterc.json5 index 6ace0020..6b61ee7c 100644 --- a/.renovaterc.json5 +++ b/.renovaterc.json5 @@ -32,23 +32,23 @@ // NOTE: forward slashes do not need escaping on Renovate, and a proper escape backslash needs double backslashes because JSON moment "ignorePaths": ["**/archive/**", "**/.archive/**", "**/**.sops.**", "./.git", "**/ignore/**"], "flux": { - "fileMatch": ["/^kube/.+\\.ya?ml$/"] + "managerFilePatterns": ["/^kube/.+\\.ya?ml$/"] }, "helm-values": { - "fileMatch": ["/^kube/.+\\.ya?ml$/"] + "managerFilePatterns": ["/^kube/.+\\.ya?ml$/"] }, "kubernetes": { - "fileMatch": ["/^kube/.+\\.ya?ml$/"] + "managerFilePatterns": ["/^kube/.+\\.ya?ml$/"] }, "kustomize": { - "fileMatch": ["/^kube/.+\\.ya?ml$/"] + "managerFilePatterns": ["/^kube/.+\\.ya?ml$/"] }, "customManagers": [ { "description": ["Process various other dependencies"], "customType": "regex", - // "fileMatch": ["^kube/.+\\.ya?ml$", "vyos/], // process regex from everywhere - "fileMatch": ["/.*/"], // process regex from everywhere + // "managerFilePatterns": ["^kube/.+\\.ya?ml$", "vyos/], // process regex from everywhere + "managerFilePatterns": ["/.*/"], // process regex from everywhere "matchStrings": [ // Example: `k3s_release_version: "v1.27.3+k3s1"` (general regex matcher) "datasource=(?\\S+) depName=(?\\S+)( versioning=(?\\S+))?\n.*?\"(?.*)\"\n", @@ -63,7 +63,7 @@ { "description": ["app-template schemas"], "customType": "regex", - "fileMatch": ["/^kube/.+\\.ya?ml$/"], + "managerFilePatterns": ["/^kube/.+\\.ya?ml$/"], "matchStrings": [ "\\# yaml\\-language\\-server\\: \\$schema\\=https\\:\\/\\/raw\\.githubusercontent\\.com\\/(?[\\w\\-]+\\/[\\w\\-]+)\\/(?app\\-template\\-[\\d\\.]+)" ], @@ -74,7 +74,7 @@ //{ // "description": "app-template schemas Flux API", // "customType": "regex", - // "fileMatch": ["^kube/.+\\.ya?ml$"], + // "managerFilePatterns": ["^kube/.+\\.ya?ml$"], // "matchStrings": [ // "\\# yaml\\-language\\-server\\: \\$schema\\=https\\:\\/\\/raw\\.githubusercontent\\.com\\/bjw-s\\/helm-charts\\/app-template-[\\S](?[\\w\\-]+\\/[\\w\\-]+)\\-(?v[\\w\\d]+).yaml$" // incomplete // ],