From 24d3b7ec691653d5b5ed9032221cfcc5c3c14597 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:00:14 +0100 Subject: [PATCH] chore: Configure Renovate (#10) * Add renovate.json * Update and rename renovate.json to .renovaterc.json5 Add ARC settings and set up to catch other versions in yaml files --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Camilla Harris <31481972+cdkharris@users.noreply.github.com> --- .renovaterc.json5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .renovaterc.json5 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}}" + } + ] +}