Skip to content

Commit

Permalink
Migrate config .github/renovate.json5
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 14, 2024
1 parent 48e585e commit 552ba9f
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 552ba9f

Please sign in to comment.