|
8 | 8 | // use chore for test-only Gradle dependencies (Gradle manager does not make a distinction based on configurations) |
9 | 9 | ":pathSemanticCommitType(gradle/test-libs.versions.toml,chore)", |
10 | 10 | ], |
11 | | - labels: [ |
12 | | - "renovate", |
13 | | - "renovate/{{updateType}}", |
14 | | - ], |
| 11 | + labels: ["renovate", "renovate/{{updateType}}"], |
15 | 12 | packageRules: [ |
16 | 13 | // group wetransform convention plugins |
17 | 14 | { |
18 | | - "groupName": "wetransform Gradle conventions", |
19 | | - "groupSlug": "wetf-gradle-conventions", |
20 | | - "matchDatasources": ["maven"], |
21 | | - "matchDepNames": ["/^to\.wetransform\.(settings|conventions).*$/"] |
22 | | - } |
| 15 | + groupName: "wetransform Gradle conventions", |
| 16 | + groupSlug: "wetf-gradle-conventions", |
| 17 | + matchDatasources: ["maven"], |
| 18 | + matchDepNames: ["/^to\.wetransform\.(settings|conventions).*$/"], |
| 19 | + }, |
23 | 20 | ], |
24 | 21 | customManagers: [ |
25 | 22 | { |
26 | 23 | description: "Update semantic-release in GitHub Action workflows", |
27 | 24 | customType: "regex", |
28 | 25 | managerFilePatterns: [ |
29 | | - "/(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$/" |
| 26 | + "/(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$/", |
30 | 27 | ], |
31 | 28 | matchStrings: [ |
32 | | - "semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?(\\s+|\\s+.*)" |
| 29 | + "semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?(\\s+|\\s+.*)", |
33 | 30 | ], |
34 | 31 | datasourceTemplate: "npm", |
35 | | - depNameTemplate: "semantic-release" |
| 32 | + depNameTemplate: "semantic-release", |
36 | 33 | }, |
37 | 34 | { |
38 | 35 | description: "Any other workflows related file with dependencies", |
39 | 36 | customType: "regex", |
40 | 37 | managerFilePatterns: [ |
41 | | - "/(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$/" |
| 38 | + "/(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$/", |
42 | 39 | ], |
43 | 40 | matchStrings: [ |
44 | | - "\ |
| 41 | + '\ |
45 | 42 | .*renovate:\ |
46 | 43 | \\sdatasource=(?<datasource>.*?)\ |
47 | 44 | \\sdepName=(?<depName>.*?)\ |
48 | 45 | (\\sversioning=(?<versioning>.*?))?\ |
49 | | -\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\ |
50 | | -(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\ |
51 | | -(\\s+|\\s+.*)" |
| 46 | +\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*"?(?<currentValue>.*?)\ |
| 47 | +(@(?<currentDigest>sha256:[a-f0-9]+))?"?\ |
| 48 | +(\\s+|\\s+.*)', |
52 | 49 | ], |
53 | 50 | versioningTemplate: "\ |
54 | 51 | {{#if versioning}}\ |
55 | 52 | {{{versioning}}}\ |
56 | 53 | {{else}}\ |
57 | 54 | semver-coerced\ |
58 | | -{{/if}}" |
| 55 | +{{/if}}", |
59 | 56 | }, |
60 | 57 | ], |
61 | | - separateMinorPatch: false |
| 58 | + separateMinorPatch: false, |
62 | 59 | } |
0 commit comments