|
1 | 1 | { |
2 | | - $schema: "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - extends: ["config:best-practices"], |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:best-practices', |
| 5 | + ], |
4 | 6 | customDatasources: { |
5 | 7 | goreleaser: { |
6 | | - defaultRegistryUrlTemplate: "https://goreleaser.com/static/releases.json", |
| 8 | + defaultRegistryUrlTemplate: 'https://goreleaser.com/static/releases.json', |
7 | 9 | transformTemplates: [ |
8 | 10 | '{"releases":$.{"version":$.tag_name,"changelogUrl":$join(["https://github.com/goreleaser/goreleaser/releases/tag/",$.tag_name]),"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"},"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"}', |
9 | 11 | ], |
10 | 12 | }, |
11 | 13 | }, |
12 | 14 | customManagers: [ |
13 | 15 | { |
14 | | - currentValueTemplate: "nonroot", |
15 | | - customType: "regex", |
16 | | - datasourceTemplate: "docker", |
17 | | - depNameTemplate: "gcr.io/distroless/static", |
18 | | - fileMatch: "^Dockerfile", |
19 | | - matchStrings: ['ARG BASE_IMAGE_DIGEST="(?<currentDigest>.*)"'], |
| 16 | + currentValueTemplate: 'nonroot', |
| 17 | + customType: 'regex', |
| 18 | + datasourceTemplate: 'docker', |
| 19 | + depNameTemplate: 'gcr.io/distroless/static', |
| 20 | + managerFilePatterns: [ |
| 21 | + '/^Dockerfile/', |
| 22 | + ], |
| 23 | + matchStrings: [ |
| 24 | + 'ARG BASE_IMAGE_DIGEST="(?<currentDigest>.*)"', |
| 25 | + ], |
20 | 26 | }, |
21 | 27 | { |
22 | | - customType: "regex", |
23 | | - fileMatch: "(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$", |
| 28 | + customType: 'regex', |
| 29 | + managerFilePatterns: [ |
| 30 | + '/(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$/', |
| 31 | + ], |
24 | 32 | matchStrings: [ |
25 | | - "version: (?<currentValue>.*?)\\s+# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( packageName=(?<packageName>.*?))?\\s", |
| 33 | + 'version: (?<currentValue>.*?)\\s+# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( packageName=(?<packageName>.*?))?\\s', |
26 | 34 | ], |
27 | 35 | }, |
28 | 36 | ], |
29 | | - labels: ["semver:patch", "kind:dependencies"], |
| 37 | + labels: [ |
| 38 | + 'semver:patch', |
| 39 | + 'kind:dependencies', |
| 40 | + ], |
30 | 41 | packageRules: [ |
31 | 42 | { |
32 | | - groupName: "gcr.io/distroless/static", |
33 | | - matchDepNames: "gcr.io/distroless/static", |
| 43 | + groupName: 'gcr.io/distroless/static', |
| 44 | + matchDepNames: 'gcr.io/distroless/static', |
34 | 45 | }, |
35 | 46 | { |
36 | | - labels: ["semver:none", "kind:chore"], |
37 | | - matchManagers: ["github-actions"], |
| 47 | + labels: [ |
| 48 | + 'semver:none', |
| 49 | + 'kind:chore', |
| 50 | + ], |
| 51 | + matchManagers: [ |
| 52 | + 'github-actions', |
| 53 | + ], |
38 | 54 | }, |
39 | 55 | { |
40 | | - matchManagers: ["poetry"], |
41 | | - rangeStrategy: "pin", |
| 56 | + matchManagers: [ |
| 57 | + 'poetry', |
| 58 | + ], |
| 59 | + rangeStrategy: 'pin', |
42 | 60 | }, |
43 | 61 | ], |
44 | | - semanticCommits: "auto", |
| 62 | + semanticCommits: 'auto', |
45 | 63 | } |
0 commit comments