-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.renovaterc.json
More file actions
103 lines (103 loc) · 2.94 KB
/
.renovaterc.json
File metadata and controls
103 lines (103 loc) · 2.94 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":enablePreCommit",
":maintainLockFilesMonthly",
":semanticCommitTypeAll(build)"
],
"pyenv": {
"enabled": false
},
"packageRules": [
{
"description": "Group and automerge non-major dev dependency updates",
"matchDepTypes": [
"devDependencies"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"groupName": "non-major dev dependencies",
"automerge": true
},
{
"description": "Group and automerge patch production dependency updates",
"matchUpdateTypes": [
"patch",
"digest"
],
"groupName": "patch production dependencies",
"automerge": true
},
{
"description": "Group pre-commit hook updates",
"matchManagers": [
"pre-commit"
],
"groupName": "pre-commit hooks"
},
{
"description": "Group GitHub Actions updates",
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions"
},
{
"description": "Ignore python-version in docs workflow \u2014 pinned intentionally",
"matchFileNames": [
".github/workflows/docs.yaml"
],
"matchDepNames": [
"python"
],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "pypi",
"depNameTemplate": "{{{ lowercase depName }}}",
"description": "Match Copier and copier-templates-extensions in README.md",
"managerFilePatterns": [
"/^README\\.md$/"
],
"matchStrings": [
"- \\*\\*(?<depName>Copier|copier-templates-extensions)\\*\\* \u2265 (?<currentValue>.*?)\\s"
]
},
{
"description": "Update pre-commit hook revs in Jinja template",
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "{{{ depName }}}",
"versioningTemplate": "semver",
"matchStrings": [
"(?ms)^\\s*-\\s*repo:\\s*https?://github\\.com/(?<depName>[^/\\s]+/[^/\\s]+)\\b.*?\\n\\s*rev:\\s*[\"']?(?<currentValue>v?\\d+\\.\\d+\\.\\d+)[\"']?"
],
"managerFilePatterns": [
"/^template/\\.pre-commit-config\\.ya?ml(?:\\.jinja)?$/"
]
},
{
"description": "Update versions annotated with renovate comments in workflow templates",
"customType": "regex",
"managerFilePatterns": [
"/^template/.+\\.github.+/workflows/.*$/"
],
"matchStrings": [
"\\s+[A-Z_]+:\\s+(?<currentValue>[\\d.]+)\\s+#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)"
]
}
],
"github-actions": {
"managerFilePatterns": [
"/^template/.+\\.github.+/actions/.*\\.ya?ml(?:\\.jinja)?(?:\\{% endif %\\})?$/",
"/^template/.+\\.github.+/workflows/.*\\.ya?ml(?:\\.jinja)?(?:\\{% endif %\\})?(?:\\.jinja)?$/"
]
}
}