-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.renovaterc.json5
More file actions
85 lines (85 loc) · 2.68 KB
/
.renovaterc.json5
File metadata and controls
85 lines (85 loc) · 2.68 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
// Managed by IAC. Do not edit this file directly.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessageLowerCase": "never", // Ensures sentence case commit messages to comply with commitlint rules
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests"
],
"minimumReleaseAge": "3 days",
// the manager module looks for files and extracts their dependencies
"enabledManagers": [
"github-actions",
"terraform",
"tflint-plugin"
],
// ignore paths must be global to prevent all data sources from being used
"ignorePaths": [
"iac/modules/**" // Ignore the IAC modules directory
],
"github-actions": {
"commitMessagePrefix": "ci(gha): ",
"ignorePaths": [
".trunk/**" // Ignore any updates for the trunk setup-ci action
]
},
"tflint-plugin": {
"commitMessagePrefix": "feat(tflint): ",
"commitMessageTopic": "{{depName}}"
},
"packageRules": [
{
"matchDatasources": [
"terraform-provider" // data source for terraform provider
],
// we want to look up dependencies from the OpenTofu registry
"registryUrls": [
"https://registry.opentofu.org"
],
// sourceUrl required for release notes. This should be the URL of the provider's GitHub repository
// Example from renovate docs https://docs.renovatebot.com/templates/#split
// {{ lookup (split packageName '-') 1 }}
// packageName: "hashicorp/aws" should be "hashicorp/terraform-provider-aws" for example
// Not working. See open discussion: https://github.com/renovatebot/renovate/discussions/35153
//"sourceUrl": "https://github.com/{{ lookup (split packageName '/') 0 }}/terraform-provider-{{ lookup (split packageName '/') 1 }}",
"addLabels": [
"tf:update"
],
"commitMessagePrefix": "feat(iac): ",
"commitMessageTopic": "{{depName}} provider",
// bump required because v6.6.0, for example, satisfies the range "~> 6.5"
"rangeStrategy": "bump"
},
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"matchDepTypes": [
"action",
"plugin",
"required_provider"
],
"automerge": true // Automerge minor and patch updates for GitHub Actions, TFLint plugins, and required providers
},
{
// Major updates must be approved on the dependency dashboard
"matchUpdateTypes": [
"major"
],
"addLabels": [
"major"
],
"dependencyDashboardApproval": true
}
],
"vulnerabilityAlerts": {
"addLabels": [
"security"
],
"commitMessagePrefix": "fix(deps): ",
"rangeStrategy": "auto"
}
}