|
1 | 1 | { |
2 | | - $schema: "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - extends: ["config:best-practices", "config:recommended"], |
4 | | - platformCommit: "enabled", |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:best-practices', |
| 5 | + 'config:recommended', |
| 6 | + ], |
| 7 | + platformCommit: 'enabled', |
5 | 8 | automerge: true, |
6 | 9 | ignorePaths: [ |
7 | | - "**/simpleclient-archive/**", |
8 | | - // old projects |
9 | | - // agent resources packages an OTel API that is the minimum required API version |
10 | | - "**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml", |
| 10 | + '**/simpleclient-archive/**', |
| 11 | + '**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml', |
| 12 | + ], |
| 13 | + labels: [ |
| 14 | + 'dependencies', |
11 | 15 | ], |
12 | | - labels: ["dependencies"], |
13 | 16 | packageRules: [ |
14 | 17 | { |
15 | | - matchPackageNames: ["jdx/mise"], |
16 | | - groupName: "mise", |
17 | | - schedule: ["before 4am on monday"], |
| 18 | + matchPackageNames: [ |
| 19 | + 'jdx/mise', |
| 20 | + ], |
| 21 | + groupName: 'mise', |
| 22 | + schedule: [ |
| 23 | + 'before 4am on monday', |
| 24 | + ], |
18 | 25 | }, |
19 | 26 | { |
20 | | - matchFileNames: ["mise.toml"], |
21 | | - matchDepNames: ["java"], |
22 | | - groupName: "java temurin", |
23 | | - additionalBranchPrefix: "temurin-", |
| 27 | + matchFileNames: [ |
| 28 | + 'mise.toml', |
| 29 | + ], |
| 30 | + matchDepNames: [ |
| 31 | + 'java', |
| 32 | + ], |
| 33 | + groupName: 'java temurin', |
| 34 | + additionalBranchPrefix: 'temurin-', |
24 | 35 | }, |
25 | 36 | { |
26 | | - matchFileNames: [".mise/envs/native/mise.toml"], |
27 | | - matchDepNames: ["java"], |
28 | | - groupName: "java graalvm", |
29 | | - additionalBranchPrefix: "graalvm-", |
| 37 | + matchFileNames: [ |
| 38 | + '.mise/envs/native/mise.toml', |
| 39 | + ], |
| 40 | + matchDepNames: [ |
| 41 | + 'java', |
| 42 | + ], |
| 43 | + groupName: 'java graalvm', |
| 44 | + additionalBranchPrefix: 'graalvm-', |
30 | 45 | }, |
31 | 46 | ], |
32 | 47 | customManagers: [ |
33 | 48 | { |
34 | | - customType: "regex", |
35 | | - description: "update mise", |
36 | | - managerFilePatterns: ["/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", "/(^|/)action\\.ya?ml$/"], |
37 | | - datasourceTemplate: "github-release-attachments", |
38 | | - packageNameTemplate: "jdx/mise", |
39 | | - depNameTemplate: "mise", |
40 | | - matchStrings: ["jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\w+)[\"']?"], |
| 49 | + customType: 'regex', |
| 50 | + description: 'update mise', |
| 51 | + managerFilePatterns: [ |
| 52 | + '/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/', |
| 53 | + '/(^|/)action\\.ya?ml$/', |
| 54 | + ], |
| 55 | + datasourceTemplate: 'github-release-attachments', |
| 56 | + packageNameTemplate: 'jdx/mise', |
| 57 | + depNameTemplate: 'mise', |
| 58 | + matchStrings: [ |
| 59 | + 'jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: ["\']?(?<currentValue>v[.\\d]+)["\']?\\s*\\n\\s*sha256: ["\']?(?<currentDigest>\\w+)["\']?', |
| 60 | + ], |
41 | 61 | }, |
42 | 62 | { |
43 | | - customType: "regex", |
44 | | - description: "update super-linter in mise tasks", |
45 | | - fileMatch: ["^\\.mise/tasks/.+\\.sh$"], |
46 | | - matchStrings: ['# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+\\S+_VERSION="(?<currentValue>v\\d+\\.\\d+\\.\\d+)@(?<currentDigest>sha256:[a-f0-9]+)"'], |
| 63 | + customType: 'regex', |
| 64 | + description: 'update super-linter in mise tasks', |
| 65 | + managerFilePatterns: [ |
| 66 | + '/^\\.mise/tasks/.+\\.sh$/', |
| 67 | + ], |
| 68 | + matchStrings: [ |
| 69 | + '# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+\\S+_VERSION="(?<currentValue>v\\d+\\.\\d+\\.\\d+)@(?<currentDigest>sha256:[a-f0-9]+)"', |
| 70 | + ], |
47 | 71 | }, |
48 | 72 | ], |
49 | 73 | } |
0 commit comments