-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate.json
68 lines (68 loc) · 2.09 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":automergeDigest",
":automergeMinor",
":enablePreCommit",
":maintainLockFilesMonthly",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
"customManagers:githubActionsVersions"
],
"assignees": ["maxbrunet"],
"ignorePaths": [],
"internalChecksFilter": "strict",
"platformAutomerge": true,
"packageRules": [
{
"description": "One week stability period for Python packages",
"matchDatasources": ["pypi"],
"minimumReleaseAge": "7 days"
},
{
"description": "Do not pin Python packages from Regex manager in GHA (no `==` constraint)",
"matchFileNames": ["(^\\.github/workflows/.+\\.ya?ml$"],
"matchManagers": ["custom.regex"],
"matchDatasources": ["pypi"],
"matchDepNames": ["build", "pre-commit"],
"rangeStrategy": "replace"
},
{
"matchPackageNames": ["mypy", "pre-commit/mirrors-mypy"],
"groupName": "mypy",
"minimumReleaseAge": "7 days",
"versioning": "pep440"
},
{
"matchPackageNames": ["ruff", "astral-sh/ruff-pre-commit"],
"groupName": "ruff",
"minimumReleaseAge": "7 days",
"versioning": "pep440"
}
],
"customManagers": [
{
"description": "Update additional Python dependencies in pre-commit config",
"customType": "regex",
"fileMatch": ["^\\.pre-commit-config\\.yaml$"],
"matchStrings": [
"- (?<depName>.+?)(?:\\[.*])?(?<currentValue>==.+?)?(\\s|$)"
],
"datasourceTemplate": "pypi",
"versioningTemplate": "pep440"
},
{
"description": "Update mattermost-preview Docker image",
"customType": "regex",
"fileMatch": ["^tests/scripts/setup-mattermost\\.sh$"],
"matchStrings": [
"TAG=\"\\${MATTERMOST_VERSION:-(?<currentValue>.+?)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?}\""
],
"depNameTemplate": "docker.io/mattermost/mattermost-preview",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
}
]
}