-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathrenovate.json
More file actions
73 lines (73 loc) · 2.44 KB
/
renovate.json
File metadata and controls
73 lines (73 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
"group:monorepos",
"group:recommended"
],
"dependencyDashboard": true,
"labels": ["dependencies"],
"lockFileMaintenance": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"description": "Update annotated tool version ARGs in Dockerfiles.",
"managerFilePatterns": [
"/(^|/)Dockerfile$/",
"/(^|/)Dockerfile\\.[^/]*$/"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[a-z-]+)\\s+packageName=(?<packageName>[^\\s]+)(?:\\s+versioning=(?<versioning>[^\\s]+))?\\s+ARG\\s+[A-Z0-9_]+_VERSION=(?<currentValue>[^\\s]+)"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"description": "Update annotated Go tool versions in workflows.",
"managerFilePatterns": ["/(^|/)\\.github/workflows/[^/]+\\.ya?ml$/"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[a-z-]+)\\s+depName=(?<depName>[^\\s]+)(?:\\s+versioning=(?<versioning>[^\\s]+))?\\s*\\n\\s*run:\\s*.*?@(?<currentValue>v?\\d+\\.\\d+\\.\\d+)"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"packageRules": [
{
"description": "Pin Docker image digests.",
"matchDatasources": ["docker"],
"pinDigests": true
},
{
"description": "Normalize Go tags from golang/go.",
"matchDatasources": ["github-tags"],
"matchPackageNames": ["golang/go"],
"extractVersion": "^go(?<version>.*)$",
"versioning": "semver"
},
{
"description": "Normalize Node tags from nodejs/node.",
"matchDatasources": ["github-tags"],
"matchPackageNames": ["nodejs/node"],
"extractVersion": "^v(?<version>.*)$",
"versioning": "node"
},
{
"description": "Group ESLint packages.",
"groupName": "eslint",
"matchPackageNames": ["eslint", "@eslint/**", "eslint-**", "typescript-eslint"]
},
{
"description": "Group Tailwind CSS packages.",
"groupName": "tailwindcss",
"matchPackageNames": ["tailwindcss", "@tailwindcss/**", "tailwind-merge", "postcss"]
},
{
"description": "Group GitHub Actions.",
"groupName": "github actions",
"matchManagers": ["github-actions"]
}
]
}