|
1 | 1 | { |
2 | 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": ["config:recommended", "helpers:pinGitHubActionDigestsToSemver"], |
4 | | - "labels": ["🛠️ dependencies"], |
5 | | - "timezone": "Europe/Berlin", |
6 | | - "schedule": ["* * * * 5"], |
7 | | - "automerge": true, |
8 | | - "platformAutomerge": true, |
9 | | - "suppressNotifications": ["prEditedNotification"], |
10 | | - "semanticCommits": "enabled", |
11 | | - "ignorePaths": ["**/dist/**"], |
12 | | - "packageRules": [ |
13 | | - { |
14 | | - "groupName": "golangci-lint", |
15 | | - "matchPackageNames": [ |
16 | | - "github.com/golangci/golangci-lint/cmd/golangci-lint", |
17 | | - "golangci/golangci-lint", |
18 | | - "golangci/golangci-lint-action" |
19 | | - ] |
20 | | - }, |
21 | | - { |
22 | | - "matchManagers": ["gomod"], |
23 | | - "matchDepTypes": ["indirect"], |
24 | | - "enabled": true |
25 | | - }, |
26 | | - { |
27 | | - "groupName": "dependencies", |
28 | | - "matchManagers": ["npm", "custom.regex"], |
29 | | - "enabled": true, |
30 | | - "separateMajorMinor": true, |
31 | | - "separateMultipleMajor": true, |
32 | | - "postUpdateOptions": ["npmDedupe"] |
33 | | - }, |
34 | | - { |
35 | | - "groupName": "GitHub Actions", |
36 | | - "matchManagers": ["github-actions"], |
37 | | - "semanticCommitScope": "github-actions" |
38 | | - }, |
39 | | - { |
40 | | - "groupName": "dev dependencies", |
41 | | - "matchDepTypes": ["devDependencies", "optionalDependencies"], |
42 | | - "matchManagers": ["npm"], |
43 | | - "semanticCommitScope": "dev" |
44 | | - }, |
45 | | - { |
46 | | - "groupName": "golang.org/x/", |
47 | | - "matchPackageNames": ["golang.org/x/*"] |
48 | | - }, |
49 | | - { |
50 | | - "groupName": "Go tools", |
51 | | - "matchFileNames": ["tools/**", "Makefile"], |
52 | | - "matchPackageNames": ["*"] |
53 | | - } |
54 | | - ], |
55 | | - "postUpdateOptions": ["gomodTidy"], |
56 | | - "customManagers": [ |
57 | | - { |
58 | | - "customType": "regex", |
59 | | - "managerFilePatterns": ["/./"], |
60 | | - "matchStrings": [ |
61 | | - "[\\t ]*(?:#|//) ?renovate: (?<datasource>git-refs)=(?<depName>\\S+)(?: branch=(?<currentValue>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentDigest>[a-f0-9]+)[\"']?", |
62 | | - "[\\t ]*(?:#|//) ?renovate: (?<datasource>[^=]+)=(?<depName>\\S+)(?: registry=(?<registryUrl>\\S+))?(?: versioning=(?<versioning>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentValue>[^@\\s\"'=]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?" |
63 | | - ], |
64 | | - "currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else if (equals datasource 'git-refs')}}main{{/if}}", |
65 | | - "datasourceTemplate": "{{#if (equals datasource 'github')}}github-tags{{else}}{{{datasource}}}{{/if}}", |
66 | | - "versioningTemplate": "{{#if (equals datasource 'docker')}}docker{{else if versioning}}{{{versioning}}}{{else}}semver{{/if}}" |
67 | | - }, |
68 | | - { |
69 | | - "customType": "regex", |
70 | | - "managerFilePatterns": ["/Makefile/"], |
71 | | - "matchStrings": ["go run (?<depName>\\S+)@(?<currentValue>\\S+)"], |
72 | | - "datasourceTemplate": "go" |
73 | | - }, |
74 | | - { |
75 | | - "customType": "regex", |
76 | | - "managerFilePatterns": ["/(^|/).+\\.yaml$/"], |
77 | | - "matchStrings": [ |
78 | | - "[\\t ]*image:[\\t ]*\\r?\\n[\\t ]*registry:[\\t ]*[\"']?(?<registry>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*(?:repository|name):[\\t ]*[\"']?(?<repository>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*tag:[\\t ]*[\"']?(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?", |
79 | | - "[\\t ]*image:[\\t ]*[\"']?(?<registry>.+\\..+?)/(?<repository>.*?):(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?" |
80 | | - ], |
81 | | - "depNameTemplate": "{{{ registry }}}/{{{ repository }}}", |
82 | | - "datasourceTemplate": "docker" |
83 | | - } |
84 | | - ] |
| 3 | + "extends": ["github>jkroepke/renovate-config:github-action"] |
85 | 4 | } |
0 commit comments