diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 57971060..e9917020 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,5 +2,6 @@ extends: [ "github>bjw-s/renovate-config", "github>bjw-s/renovate-config:automerge-github-actions", + "github>bjw-s/helm-charts//.github/renovate/custom-managers.json5" ], } diff --git a/.github/renovate/custom-managers.json5 b/.github/renovate/custom-managers.json5 new file mode 100644 index 00000000..4064fd05 --- /dev/null +++ b/.github/renovate/custom-managers.json5 @@ -0,0 +1,17 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + customManagers: [ + { + customType: "regex", + description: "Process common lib json schema references", + fileMatch: ["\\.json$"], + matchStrings: [ + // https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.0.3/charts/library/common/values.schema.json + "https:\\/\\/raw.githubusercontent.com\\/bjw-s\\/helm-charts\\/(?\\S+?)-(?[\\d\\.]+?)\\/\\S+", + ], + datasourceTemplate: "helm", + versioningTemplate: "semver", + registryUrlTemplate: "https://bjw-s.github.io/helm-charts" + }, + ], +}