-
Notifications
You must be signed in to change notification settings - Fork 5
/
commonRenovateConfig.json
93 lines (93 loc) · 3.36 KB
/
commonRenovateConfig.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
{
"extends":[
"config:base",
":semanticCommits",
":disableDependencyDashboard"
],
"cloneSubmodules": true,
"prConcurrentLimit": 5,
"prHourlyLimit": 10,
"branchConcurrentLimit": 0,
"automerge": false,
"force": {
"description": "Recreate PRs even if same ones were closed previously",
"recreateWhen": "always"
},
"labels": ["renovate"],
"rangeStrategy": "pin",
"git-submodules": {
"enabled": true
},
"pre-commit": {
"enabled": true
},
"ignorePaths": [
"**/node_modules/**"
],
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"postUpgradeTasks": {
"commands": ["export CUSTOM_DIRECTORY=/tmp && export PATH=$PATH:/tmp && make dependency-install-darwin-linux", "export PATH=$PATH:/tmp && pre-commit run --all-files || true"],
"fileFilters": ["**/*.md", "**/*.json", ".secrets.baseline", "**/*.tf", "**/*.go", "go.mod", "go.sum"],
"executionMode": "update"
},
"packageRules": [
{
"description": "Use fix as Semantic Commit prefix for all dependency updates except ones specified in rules below",
"matchPackagePatterns": ["*"],
"semanticCommitType": "fix"
},
{
"description": "Use chore as Semantic Commit prefix for all dependency updates in examples and tests folders",
"matchFileNames": ["examples/**", "tests/resources/**"],
"semanticCommitType": "chore"
},
{
"description": "Use chore as Semantic Commit prefix for git submodule, go.mod, github actions, and pre-commit updates, and bundle into the same PR to reduce number of PRs created by renovate.",
"matchManagers": ["git-submodules", "gomod", "pre-commit", "github-actions"],
"semanticCommitType": "chore",
"groupName": "CI dependencies"
},
{
"description": "Disable terraform required_version updates.",
"matchManagers": ["terraform"],
"matchDepTypes": ["required_version"],
"enabled": false
},
{
"description": "Disable terraform provider updates by default. To enable, set enable to true below and renovate will priortise bumping this. We only need to bump this version to consume required bug fixes and/or new provider features.",
"enabled": false,
"matchManagers": ["terraform"],
"matchDepTypes": ["required_provider"],
"rangeStrategy": "bump",
"semanticCommitType": "feat",
"group": true,
"groupName": "required_provider",
"prPriority": 100
},
{
"description": "Allow the locked in provider version to be updated to the latest for deployable architectures",
"enabled": true,
"matchFileNames": ["solutions/**"],
"matchManagers": ["terraform"],
"matchDepTypes": ["required_provider"],
"rangeStrategy": "bump",
"semanticCommitType": "fix",
"group": true,
"groupName": "required_provider",
"commitMessageExtra": "to latest for deployable architectures",
"prPriority": 10
},
{
"description": "Prioritise terraform module updates",
"matchManagers": ["terraform"],
"matchDepTypes": ["module"],
"groupName": "terraform-module",
"prPriority": 10
},
{
"description": "Custom regex required to bump IBM detect secrets",
"matchPackageNames": ["ibm/detect-secrets"],
"versioning": "regex:^(?<compatibility>.*)-?(?<major>\\d+)\\.(?<minor>\\d+)\\+ibm\\.(?<patch>\\d+)\\.dss$"
}
]
}