|
1 | 1 | { |
2 | 2 | $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
3 | 3 | extends: [ |
4 | | - 'config:best-practices', //See https://docs.renovatebot.com/upgrade-best-practices/#use-the-configbest-practices-preset |
| 4 | + 'config:best-practices', |
5 | 5 | ':disableRateLimiting', |
6 | | - 'github>orange-cloudfoundry/renovate-public-presets:boshreleases-default.json5' |
| 6 | + 'github>orange-cloudfoundry/renovate-public-presets:boshreleases-default.json5', |
7 | 7 | ], |
8 | 8 | enabledManagers: [ |
9 | 9 | 'github-actions', |
|
16 | 16 | 'manifests/**', |
17 | 17 | 'jobs/**', |
18 | 18 | ], |
19 | | - baseBranches: [ |
20 | | - // don't run on renovate branches |
| 19 | + baseBranchPatterns: [ |
21 | 20 | '$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 | + ], |
25 | 22 | packageRules: [ |
26 | 23 | { |
27 | 24 | description: 'Add common labels', |
28 | 25 | addLabels: [ |
29 | | - // See full list of fields available at https://docs.renovatebot.com/templates/#other-available-fields |
30 | 26 | 'datasource/{{datasource}}', |
31 | 27 | 'depName/{{depNameSanitized}}', |
32 | 28 | 'manager/{{manager}}', |
|
41 | 37 | 'kubernetes/kubernetes', |
42 | 38 | 'orange-cloudfoundry/create-bosh-release-action', |
43 | 39 | ], |
44 | | - //see https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates |
45 | 40 | matchUpdateTypes: [ |
46 | 41 | 'patch', |
47 | 42 | ], |
48 | 43 | matchCurrentVersion: '!/-rc/', |
49 | 44 | automerge: true, |
50 | | - //see https://docs.renovatebot.com/key-concepts/automerge/#absence-of-tests |
51 | 45 | ignoreTests: true, |
52 | 46 | }, |
53 | 47 | { |
|
57 | 51 | ], |
58 | 52 | separateMinorPatch: true, |
59 | 53 | addLabels: [ |
60 | | - 'depName/kubernetes-kubectl', //override common labels for kubectl, as we have to scan kubernetes releases |
| 54 | + 'depName/kubernetes-kubectl', |
61 | 55 | ], |
62 | | - separateMultipleMinor: true, // https://github.com/renovatebot/renovate/pull/24538 is effective |
| 56 | + separateMultipleMinor: true, |
63 | 57 | }, |
64 | 58 | { |
65 | 59 | description: 'Use to bump CLIs managed by jaxxstorm/action-install-gh-release', |
|
76 | 70 | { |
77 | 71 | description: 'Use to bump CLIs managed by jaxxstorm/action-install-gh-release', |
78 | 72 | customType: 'regex', |
79 | | - fileMatch: [ |
80 | | - '.github/workflows/.+.yml$', |
| 73 | + managerFilePatterns: [ |
| 74 | + '/.github/workflows/.+.yml$/', |
81 | 75 | ], |
82 | 76 | matchStrings: [ |
83 | | - // https://regex101.com/r/Hajw59/2 |
84 | 77 | ' +uses: jaxxstorm\\/action-install-gh-release.*\\n.*\\n +repo: (?<depName>[a-z0-9\\.\\/\\-]*?)\\n +tag: (?<currentValue>[a-z0-9\\.\\/\\-\\+]*?) *\\n', |
85 | 78 | ], |
86 | 79 | datasourceTemplate: 'github-releases', |
|
0 commit comments