-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json
110 lines (110 loc) · 4.15 KB
/
default.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
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
104
105
106
107
108
109
110
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"docker:pinDigests",
"group:monorepos",
"group:recommended",
"helpers:pinGitHubActionDigests",
"workarounds:typesNodeVersioning",
"workarounds:supportRedHatImageVersion",
"regexManagers:dockerfileVersions",
"regexManagers:githubActionsVersions"
],
"dependencyDashboard": true,
"description": [
"Use the Anaconda Best Practice configuration from [anaconda/renovate-config](https://github.com/anaconda/renovate-config)",
"Create a Dependency Dashboard as Issue, listing all upgrades",
"Open new PRs automatically every weekday before 6am UTC. You can manually trigger PRs from the Dependency Dashboard, those will be opened once renovate runs again (once every hour)",
"Label all PRs with `renovate`",
"Use semantic commit messages for all upgrades",
"Open a maximum of 10 PRs concurrently",
"Automatically set reviewers from CODEOWNERS",
"Upgrade arbitrary dependencies in Dockerfiles when you mark them, [see the documentation for details](https://github.com/anaconda/renovate-config/blob/main/docs/Dockerfile.md)"
],
"pre-commit": {
"enabled": true
},
"labels": [
"renovate"
],
"postUpdateOptions": [
"gomodUpdateImportPaths",
"gomodTidy"
],
"prConcurrentLimit": 10,
"prHourlyLimit": 0,
"rangeStrategy": "auto",
"reviewersFromCodeOwners": true,
"gitIgnoredAuthors": [
"anaconda-renovate[bot]@users.noreply.github.com",
"anaconda-renovate-bot@anaconda.com",
"devops+anaconda-bot@anaconda.com"
],
"regexManagers": [
{
"description": "Upgrade go version in a GitHub workflow",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"go-version:\\s(?<currentValue>.*)"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "go"
},
{
"description": "Upgrade conda dependencies",
"fileMatch": ["(^|/)environment(.*).ya?ml$"],
"matchStrings": [
"#\\s*renovate\\s+datasource=conda\\s+depName=(?<depName>.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*\"?(?<currentValue>.*)\"?",
"# renovate: datasource=conda depName=(?<depName>.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*\"?(?<currentValue>.*)\"?"
],
"datasourceTemplate": "conda"
},
{
"description": "Upgrade pypi dependencies inside conda environment files",
"fileMatch": ["(^|/)environment(.*).ya?ml$"],
"matchStrings": [
"# renovate datasource=pypi\\s+-\\s*(?<depName>[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?<currentValue>.*)",
"# renovate: datasource=pypi\\s+-\\s*(?<depName>[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?<currentValue>.*)",
"# renovate: datasource=pypi\\s+registryUrl=(?<registryUrl>.*?)\\s+-\\s*(?<depName>[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?<currentValue>.*)"
],
"datasourceTemplate": "pypi"
},
{
"description": "Upgrade arbitrary go module versions in Makefiles",
"fileMatch": ["^Makefile"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*@(?<currentValue>.*)"
]
}
],
"packageRules": [
{
"matchManagers": ["regex"],
"commitMessageTopic": "{{datasource}} dependency {{depName}}"
},
{
"description": "Widen ranges for terraform required_providers instead of replacing/bumping them. This preserves the minimum version",
"matchManagers": ["terraform"],
"matchDepTypes": ["required_provider"],
"rangeStrategy": "widen"
},
{
"description": "Pin Serverless to less than 4.x because of license changes.",
"matchDepNames": ["serverless"],
"allowedVersions": "< 4.0"
},
{
"description": "This disables the config from docker:pinDigests for the argocd and helmv3 managers. See https://github.com/renovatebot/renovate/pull/30556, can be removed once renovate-ce has released a version that contains this config",
"matchManagers": [
"argocd",
"helmv3"
],
"pinDigests": false
}
],
"schedule": [
"every weekday"
],
"semanticCommits": "enabled",
"timezone": "UTC"
}