-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config): migrate config .github/renovate.json5 (#112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6e440df
commit d40bd67
Showing
1 changed file
with
146 additions
and
90 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,113 +1,169 @@ | ||
{ | ||
"enabled": true, | ||
"dependencyDashboard": true, | ||
"dependencyDashboardTitle": "Renovate Dashboard", | ||
"assigneesFromCodeOwners": true, | ||
"reviewersFromCodeOwners": true, | ||
"suppressNotifications": ["prIgnoreNotification"], | ||
"prConcurrentLimit": 5, | ||
"helm-values": { | ||
"enabled": false | ||
enabled: true, | ||
dependencyDashboard: true, | ||
dependencyDashboardTitle: 'Renovate Dashboard', | ||
assigneesFromCodeOwners: true, | ||
reviewersFromCodeOwners: true, | ||
suppressNotifications: [ | ||
'prIgnoreNotification', | ||
], | ||
prConcurrentLimit: 5, | ||
'helm-values': { | ||
enabled: false, | ||
}, | ||
"helmv3": { | ||
"fileMatch": ["charts/.+/Chart\\.yaml$"] | ||
helmv3: { | ||
fileMatch: [ | ||
'charts/.+/Chart\\.yaml$', | ||
], | ||
}, | ||
"packageRules": [ | ||
// Setup datasources | ||
packageRules: [ | ||
{ | ||
"matchDatasources": ["helm"], | ||
"commitMessageTopic": "Helm chart {{depName}}", | ||
"separateMinorPatch": true | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
commitMessageTopic: 'Helm chart {{depName}}', | ||
separateMinorPatch: true, | ||
}, | ||
// Custom version schemes | ||
{ | ||
"matchDatasources": ["github-tags"], | ||
"matchPackageNames": ["potiuk/get-workflow-origin"], | ||
"versioning": "regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$" | ||
matchDatasources: [ | ||
'github-tags', | ||
], | ||
matchPackageNames: [ | ||
'potiuk/get-workflow-origin', | ||
], | ||
versioning: 'regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$', | ||
}, | ||
/// | ||
/// Automatically update minor/patch Github Actions | ||
/// | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"matchUpdateTypes": ["minor", "patch"] | ||
matchManagers: [ | ||
'github-actions', | ||
], | ||
automerge: true, | ||
automergeType: 'branch', | ||
matchUpdateTypes: [ | ||
'minor', | ||
'patch', | ||
], | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"matchUpdateTypes": ["digest"], | ||
"schedule": [ | ||
"every 1 months on the first day of the month" | ||
] | ||
matchManagers: [ | ||
'github-actions', | ||
], | ||
automerge: true, | ||
automergeType: 'branch', | ||
matchUpdateTypes: [ | ||
'digest', | ||
], | ||
schedule: [ | ||
'every 1 months on the first day of the month', | ||
], | ||
}, | ||
// | ||
// Common library dep | ||
// | ||
{ | ||
"matchDatasources": ["helm"], | ||
"commitMessagePrefix": "[{{{parentDir}}}]", | ||
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}", | ||
"updateTypes": ["major"], | ||
"bumpVersion": "major", | ||
"labels": ["type/major"], | ||
"packageNames": ["common"], | ||
"groupName": ["common library major"] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
commitMessagePrefix: '[{{{parentDir}}}]', | ||
branchTopic: '{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}', | ||
matchUpdateTypes: [ | ||
'major', | ||
], | ||
bumpVersion: 'major', | ||
labels: [ | ||
'type/major', | ||
], | ||
matchPackageNames: [ | ||
'common', | ||
], | ||
groupName: 'common library major', | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"updateTypes": ["minor"], | ||
"bumpVersion": "minor", | ||
"labels": ["type/minor"], | ||
"packageNames": ["common"], | ||
"groupName": ["common library minor"] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
matchUpdateTypes: [ | ||
'minor', | ||
], | ||
bumpVersion: 'minor', | ||
labels: [ | ||
'type/minor', | ||
], | ||
matchPackageNames: [ | ||
'common', | ||
], | ||
groupName: 'common library minor', | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"updateTypes": ["patch"], | ||
"bumpVersion": "patch", | ||
"labels": ["type/patch"], | ||
"packageNames": ["common"], | ||
"groupName": ["common library patch"] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
matchUpdateTypes: [ | ||
'patch', | ||
], | ||
bumpVersion: 'patch', | ||
labels: [ | ||
'type/patch', | ||
], | ||
matchPackageNames: [ | ||
'common', | ||
], | ||
groupName: 'common library patch', | ||
}, | ||
// | ||
// Other external chart deps | ||
// | ||
{ | ||
"matchDatasources": ["helm"], | ||
"commitMessagePrefix": "[{{{parentDir}}}]", | ||
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}", | ||
"updateTypes": ["major"], | ||
"bumpVersion": "major", | ||
"labels": ["type/major"], | ||
"excludePackageNames": ["common"], | ||
"schedule": [ | ||
"every 3 months on the first day of the month" | ||
] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
commitMessagePrefix: '[{{{parentDir}}}]', | ||
branchTopic: '{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}', | ||
matchUpdateTypes: [ | ||
'major', | ||
], | ||
bumpVersion: 'major', | ||
labels: [ | ||
'type/major', | ||
], | ||
schedule: [ | ||
'every 3 months on the first day of the month', | ||
], | ||
matchPackageNames: [ | ||
'!common', | ||
], | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"updateTypes": ["minor"], | ||
"bumpVersion": "minor", | ||
"labels": ["type/minor"], | ||
"excludePackageNames": ["common"], | ||
"groupName": ["external dependency minor"], | ||
"schedule": [ | ||
"every 2 months on the first day of the month" | ||
] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
matchUpdateTypes: [ | ||
'minor', | ||
], | ||
bumpVersion: 'minor', | ||
labels: [ | ||
'type/minor', | ||
], | ||
groupName: 'external dependency minor', | ||
schedule: [ | ||
'every 2 months on the first day of the month', | ||
], | ||
matchPackageNames: [ | ||
'!common', | ||
], | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"updateTypes": ["patch"], | ||
"bumpVersion": "patch", | ||
"labels": ["type/patch"], | ||
"excludePackageNames": ["common"], | ||
"groupName": ["external dependency patch"], | ||
"schedule": [ | ||
"every 1 months on the first day of the month" | ||
] | ||
} | ||
] | ||
matchDatasources: [ | ||
'helm', | ||
], | ||
matchUpdateTypes: [ | ||
'patch', | ||
], | ||
bumpVersion: 'patch', | ||
labels: [ | ||
'type/patch', | ||
], | ||
groupName: 'external dependency patch', | ||
schedule: [ | ||
'every 1 months on the first day of the month', | ||
], | ||
matchPackageNames: [ | ||
'!common', | ||
], | ||
}, | ||
], | ||
} |