Skip to content

Commit c8c5e71

Browse files
chore(config): migrate config renovate.json5
1 parent 6fc299d commit c8c5e71

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

renovate.json5

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4-
'config:best-practices', //See https://docs.renovatebot.com/upgrade-best-practices/#use-the-configbest-practices-preset
4+
'config:best-practices',
55
':disableRateLimiting',
6-
'github>orange-cloudfoundry/renovate-public-presets:boshreleases-default.json5'
6+
'github>orange-cloudfoundry/renovate-public-presets:boshreleases-default.json5',
77
],
88
enabledManagers: [
99
'github-actions',
@@ -16,17 +16,13 @@
1616
'manifests/**',
1717
'jobs/**',
1818
],
19-
baseBranches: [
20-
// don't run on renovate branches
19+
baseBranchPatterns: [
2120
'$default',
22-
// See https://docs.renovatebot.com/configuration-options/#basebranches
23-
// baseBranches supports Regular Expressions that must begin and end with /
24-
], //See also possible support for multiple base branches, one per K8S minor version https://docs.renovatebot.com/configuration-options/#basebranches
21+
],
2522
packageRules: [
2623
{
2724
description: 'Add common labels',
2825
addLabels: [
29-
// See full list of fields available at https://docs.renovatebot.com/templates/#other-available-fields
3026
'datasource/{{datasource}}',
3127
'depName/{{depNameSanitized}}',
3228
'manager/{{manager}}',
@@ -41,13 +37,11 @@
4137
'kubernetes/kubernetes',
4238
'orange-cloudfoundry/create-bosh-release-action',
4339
],
44-
//see https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates
4540
matchUpdateTypes: [
4641
'patch',
4742
],
4843
matchCurrentVersion: '!/-rc/',
4944
automerge: true,
50-
//see https://docs.renovatebot.com/key-concepts/automerge/#absence-of-tests
5145
ignoreTests: true,
5246
},
5347
{
@@ -57,9 +51,9 @@
5751
],
5852
separateMinorPatch: true,
5953
addLabels: [
60-
'depName/kubernetes-kubectl', //override common labels for kubectl, as we have to scan kubernetes releases
54+
'depName/kubernetes-kubectl',
6155
],
62-
separateMultipleMinor: true, // https://github.com/renovatebot/renovate/pull/24538 is effective
56+
separateMultipleMinor: true,
6357
},
6458
{
6559
description: 'Use to bump CLIs managed by jaxxstorm/action-install-gh-release',
@@ -76,11 +70,10 @@
7670
{
7771
description: 'Use to bump CLIs managed by jaxxstorm/action-install-gh-release',
7872
customType: 'regex',
79-
fileMatch: [
80-
'.github/workflows/.+.yml$',
73+
managerFilePatterns: [
74+
'/.github/workflows/.+.yml$/',
8175
],
8276
matchStrings: [
83-
// https://regex101.com/r/Hajw59/2
8477
' +uses: jaxxstorm\\/action-install-gh-release.*\\n.*\\n +repo: (?<depName>[a-z0-9\\.\\/\\-]*?)\\n +tag: (?<currentValue>[a-z0-9\\.\\/\\-\\+]*?) *\\n',
8578
],
8679
datasourceTemplate: 'github-releases',

0 commit comments

Comments
 (0)