forked from terraform-ibm-modules/common-dev-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commonRenovateConfig.json
84 lines (84 loc) · 2.64 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
{
"extends":[
"config:base",
":semanticCommits",
":disableDependencyDashboard"
],
"cloneSubmodules": false,
"prConcurrentLimit": 1,
"branchConcurrentLimit": 0,
"automerge": false,
"force": {
"description": "Recreate PRs even if same ones were closed previously",
"recreateClosed": true
},
"labels": ["renovate"],
"rangeStrategy": "pin",
"git-submodules": {
"enabled": true
},
"pre-commit": {
"enabled": true
},
"ignorePaths": [
"**/node_modules/**"
],
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"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 folder",
"matchPaths": ["examples/**"],
"semanticCommitType": "chore"
},
{
"description": "Use chore as Semantic Commit prefix for git submodule, go.mod and pre-commit updates",
"matchManagers": ["git-submodules", "gomod", "pre-commit"],
"semanticCommitType": "chore"
},
{
"description": "Use ci as Semantic Commit prefix for GHA pipeline updates",
"matchPackageNames": ["terraform-ibm-modules/common-pipeline-assets"],
"semanticCommitType": "ci"
},
{
"description": "Disable updates of the terraform version so it stays at >= 1.0.0",
"matchManagers": ["terraform"],
"matchDepTypes": ["required_version"],
"enabled": false
},
{
"description": "Only bump the terraform provider required versions every 4 months",
"matchManagers": ["terraform"],
"matchDepTypes": ["required_provider"],
"rangeStrategy": "bump",
"group": true,
"groupName": "required_provider",
"schedule": ["every 4 months on the 1st through 5th day of the month"],
"prPriority": 9
},
{
"description": "Prioritise terraform module updates",
"matchManagers": ["terraform"],
"matchDepTypes": ["module"],
"groupName": "terraform-module",
"prPriority": 10
},
{
"description": "Prioritise terraform module updates for terragrunt",
"matchManagers": ["terragrunt"],
"matchDepTypes": ["gitTags"],
"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$"
}
]
}