Skip to content

Commit 78f5153

Browse files
committed
chore(renovate): restore comments
1 parent c8c5e71 commit 78f5153

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

renovate.json5

Lines changed: 12 additions & 6 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',
4+
'config:best-practices', //See https://docs.renovatebot.com/upgrade-best-practices/#use-the-configbest-practices-preset
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',
@@ -17,12 +17,15 @@
1717
'jobs/**',
1818
],
1919
baseBranchPatterns: [
20-
'$default',
21-
],
20+
'$default', // don't run on renovate branches
21+
// See https://docs.renovatebot.com/configuration-options/#basebranches
22+
// baseBranches supports Regular Expressions that must begin and end with /
23+
], //See also possible support for multiple base branches, one per K8S minor version https://docs.renovatebot.com/configuration-options/#basebranches
2224
packageRules: [
2325
{
2426
description: 'Add common labels',
2527
addLabels: [
28+
// See full list of fields available at https://docs.renovatebot.com/templates/#other-available-fields
2629
'datasource/{{datasource}}',
2730
'depName/{{depNameSanitized}}',
2831
'manager/{{manager}}',
@@ -37,11 +40,13 @@
3740
'kubernetes/kubernetes',
3841
'orange-cloudfoundry/create-bosh-release-action',
3942
],
43+
//see https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates
4044
matchUpdateTypes: [
4145
'patch',
4246
],
4347
matchCurrentVersion: '!/-rc/',
4448
automerge: true,
49+
//see https://docs.renovatebot.com/key-concepts/automerge/#absence-of-tests
4550
ignoreTests: true,
4651
},
4752
{
@@ -51,9 +56,9 @@
5156
],
5257
separateMinorPatch: true,
5358
addLabels: [
54-
'depName/kubernetes-kubectl',
59+
'depName/kubernetes-kubectl', //override common labels for kubectl, as we have to scan kubernetes releases
5560
],
56-
separateMultipleMinor: true,
61+
separateMultipleMinor: true, // https://github.com/renovatebot/renovate/pull/24538 is effective
5762
},
5863
{
5964
description: 'Use to bump CLIs managed by jaxxstorm/action-install-gh-release',
@@ -74,6 +79,7 @@
7479
'/.github/workflows/.+.yml$/',
7580
],
7681
matchStrings: [
82+
// https://regex101.com/r/Hajw59/2
7783
' +uses: jaxxstorm\\/action-install-gh-release.*\\n.*\\n +repo: (?<depName>[a-z0-9\\.\\/\\-]*?)\\n +tag: (?<currentValue>[a-z0-9\\.\\/\\-\\+]*?) *\\n',
7884
],
7985
datasourceTemplate: 'github-releases',

0 commit comments

Comments
 (0)