From 1c4467d341b92980e2a9e91f80f8dfb6bd6af85f Mon Sep 17 00:00:00 2001 From: Camilla Harris <31481972+cdkharris@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:59:38 +0100 Subject: [PATCH] Update and rename renovate.json to .renovaterc.json5 Add ARC settings and set up to catch other versions in yaml files --- .renovaterc.json5 | 14 ++++++++++++++ renovate.json | 6 ------ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 .renovaterc.json5 delete mode 100644 renovate.json diff --git a/.renovaterc.json5 b/.renovaterc.json5 new file mode 100644 index 0000000..2f1a83c --- /dev/null +++ b/.renovaterc.json5 @@ -0,0 +1,14 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["github>UCL-ARC/.github//renovate/default-config.json", ":dependencyDashboard"], + customManagers: [ + { + "customType": "regex", + "fileMatch": ["^.*\\.y.?ml$"], + "matchStrings": [ + '#\\srenovate:\\sdatasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\s*.*?_version:\\s*(?.*)\\s*' + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 5db72dd..0000000 --- a/renovate.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ] -}