generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate config .github/renovate.json5
- Loading branch information
1 parent
48e585e
commit 552ba9f
Showing
1 changed file
with
36 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
}, | ||
], | ||
} |