Skip to content

Commit

Permalink
Migrate config .github/renovate.json5 (#673)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 15, 2024
1 parent 08ba852 commit 3f31bbf
Showing 1 changed file with 36 additions and 22 deletions.
58 changes: 36 additions & 22 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>canonical/data-platform//renovate_presets/charm.json5"],
"reviewers": ["team:data-platform-postgresql"],
"packageRules": [
// Later rules override earlier rules
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'github>canonical/data-platform//renovate_presets/charm.json5',
],
reviewers: [
'team:data-platform-postgresql',
],
packageRules: [
{
"matchPackageNames": ["pydantic"],
"allowedVersions": "<2.0.0"
matchPackageNames: [
'pydantic',
],
allowedVersions: '<2.0.0',
},
{
"matchManagers": ["regex"],
"matchDepNames": ["juju"],
"matchDatasources": ["pypi"],
"allowedVersions": "<3",
"groupName": "Juju agents"
}
matchManagers: [
'custom.regex',
],
matchDepNames: [
'juju',
],
matchDatasources: [
'pypi',
],
allowedVersions: '<3',
groupName: 'Juju agents',
},
],
"regexManagers": [
customManagers: [
{
"fileMatch": ["^\\.github/workflows/[^/]+\\.ya?ml$"],
"matchStrings": [
"(libjuju: )==(?<currentValue>.*?) +# renovate: latest libjuju 2"
customType: 'regex',
fileMatch: [
'^\\.github/workflows/[^/]+\\.ya?ml$',
],
matchStrings: [
'(libjuju: )==(?<currentValue>.*?) +# renovate: latest libjuju 2',
],
"depNameTemplate": "juju",
"datasourceTemplate": "pypi",
"versioningTemplate": "loose"
}
]
depNameTemplate: 'juju',
datasourceTemplate: 'pypi',
versioningTemplate: 'loose',
},
],
}

0 comments on commit 3f31bbf

Please sign in to comment.