Skip to content

Commit

Permalink
chore: Configure Renovate (#10)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
renovate[bot] and cdkharris authored Oct 23, 2024
1 parent 4f6e01b commit 24d3b7e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
@@ -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=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*.*?_version:\\s*(?<currentValue>.*)\\s*'
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}

0 comments on commit 24d3b7e

Please sign in to comment.