|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:recommended", |
5 | | - "helpers:pinGitHubActionDigests", |
6 | | - ":semanticCommits" |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:recommended', |
| 5 | + 'helpers:pinGitHubActionDigests', |
| 6 | + ':semanticCommits', |
7 | 7 | ], |
8 | | - "rebaseWhen": "conflicted", |
9 | | - "prConcurrentLimit": 5, |
10 | | - "baseBranches": ["main"], |
11 | | - "labels": ["automated"], |
12 | | - "customManagers": [ |
| 8 | + rebaseWhen: 'conflicted', |
| 9 | + prConcurrentLimit: 5, |
| 10 | + baseBranches: [ |
| 11 | + 'main', |
| 12 | + ], |
| 13 | + labels: [ |
| 14 | + 'automated', |
| 15 | + ], |
| 16 | + ignorePaths: [ // default renovate ignorePaths without '**/examples/**' |
| 17 | + '**/node_modules/**', |
| 18 | + '**/bower_components/**', |
| 19 | + '**/vendor/**', |
| 20 | + '**/__tests__/**', |
| 21 | + '**/test/**', |
| 22 | + '**/tests/**', |
| 23 | + '**/__fixtures__/**' |
| 24 | + ], |
| 25 | + crossplane: { |
| 26 | + fileMatch: ['(^|/)examples/.*\\.ya?ml$'] |
| 27 | + }, |
| 28 | + packageRules: [ |
| 29 | + { |
| 30 | + matchFileNames: [ |
| 31 | + '.github/**', |
| 32 | + ], |
| 33 | + groupName: 'github-actions dependencies', |
| 34 | + }, |
13 | 35 | { |
14 | | - "customType": "regex", |
15 | | - "description": "Bump up version in the Makefile", |
16 | | - "fileMatch": ["^Makefile$"], |
17 | | - "matchStrings": [ |
18 | | - "UP_VERSION = (?<currentValue>.*?)\\n" |
19 | | - ], |
20 | | - "datasourceTemplate": "github-releases", |
21 | | - "depNameTemplate": "upbound/up", |
22 | | - }, { |
23 | | - "customType": "regex", |
24 | | - "description": "Bump uptest version in the Makefile", |
25 | | - "fileMatch": ["^Makefile$"], |
26 | | - "matchStrings": [ |
27 | | - "UPTEST_VERSION = (?<currentValue>.*?)\\n" |
28 | | - ], |
29 | | - "datasourceTemplate": "github-releases", |
30 | | - "depNameTemplate": "upbound/uptest", |
31 | | - }, { |
32 | | - "customType": "regex", |
33 | | - "description": "Bump providers/functions/configurations in crossplane.yaml", |
34 | | - "fileMatch": ["crossplane.yaml"], |
35 | | - "matchStrings": [ |
36 | | - "#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*\"(?<currentValue>[^\"]+)\"" |
37 | | - ], |
38 | | - "datasourceTemplate": "{{{datasource}}}", |
39 | | - "depNameTemplate": "{{{depName}}}", |
40 | | - } |
| 36 | + matchFileNames: [ |
| 37 | + 'crossplane.yaml', |
| 38 | + ], |
| 39 | + groupName: 'crossplane dependencies', |
| 40 | + }, |
| 41 | + { |
| 42 | + matchFileNames: [ |
| 43 | + 'Makefile', |
| 44 | + ], |
| 45 | + groupName: 'Makefile dependencies', |
| 46 | + }, |
| 47 | + { |
| 48 | + matchManagers: ['crossplane'], |
| 49 | + matchFileNames: ['examples/**'], |
| 50 | + groupName: 'examples' |
| 51 | + }, |
| 52 | + ], |
| 53 | + customManagers: [ |
| 54 | + { |
| 55 | + customType: 'regex', |
| 56 | + description: 'Bump up version in the Makefile', |
| 57 | + fileMatch: [ |
| 58 | + '^Makefile$', |
| 59 | + ], |
| 60 | + matchStrings: [ |
| 61 | + 'UP_VERSION = (?<currentValue>.*?)\\n', |
| 62 | + ], |
| 63 | + datasourceTemplate: 'github-releases', |
| 64 | + depNameTemplate: 'upbound/up', |
| 65 | + }, |
| 66 | + { |
| 67 | + customType: 'regex', |
| 68 | + description: 'Bump uptest version in the Makefile', |
| 69 | + fileMatch: [ |
| 70 | + '^Makefile$', |
| 71 | + ], |
| 72 | + matchStrings: [ |
| 73 | + 'UPTEST_VERSION = (?<currentValue>.*?)\\n', |
| 74 | + ], |
| 75 | + datasourceTemplate: 'github-releases', |
| 76 | + depNameTemplate: 'upbound/uptest', |
| 77 | + }, |
| 78 | + { |
| 79 | + customType: 'regex', |
| 80 | + description: 'Bump providers/functions/configurations in crossplane.yaml', |
| 81 | + fileMatch: [ |
| 82 | + 'crossplane.yaml', |
| 83 | + ], |
| 84 | + matchStrings: [ |
| 85 | + '#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*"(?<currentValue>[^"]+)"', |
| 86 | + ], |
| 87 | + datasourceTemplate: '{{{datasource}}}', |
| 88 | + depNameTemplate: '{{{depName}}}', |
| 89 | + }, |
41 | 90 | ], |
| 91 | + "git-submodules": { |
| 92 | + "enabled": true |
| 93 | + } |
42 | 94 | } |
0 commit comments