Skip to content

Commit

Permalink
ci(renovate): Add bump rangeStrategy to terraform manager (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware authored Feb 28, 2025
1 parent c1cdacb commit 70e03ed
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@
"terraform",
"tflint-plugin"
],
// manager block. fileMatch must be configured here and not in packageRules because
// packageRules can matchManagers
"terraform": {
"enabled": true,
//"minimumReleaseAge": "3 days",
"commitMessagePrefix": "feat(iac): ",
"commitMessageTopic": "{{depName}}",
// bump required because v1.11.0, for example, satisfies the range "~> 1.9"
"rangeStrategy": "bump"
},
"tflint-plugin": {
"enabled": true,
"fileMatch": [
// match all .tflint_ci.hcl and .tflint_trunk.hcl files
// 'ci' and 'trunk' have different configurations
"\\.tflint_(ci|trunk)\\.hcl$"
],
"minimumReleaseAge": "3 days",
"commitMessagePrefix": "feat(tflint): ",
"commitMessageTopic": "{{depName}}"
},
"packageRules": [
{
// datasources look up dependency versions from a registry
Expand Down Expand Up @@ -37,23 +58,6 @@
"enabled": true
}
],
"terraform": {
"enabled": true,
//"minimumReleaseAge": "3 days",
"commitMessagePrefix": "feat(iac): ",
"commitMessageTopic": "{{depName}}"
},
"tflint-plugin": {
"enabled": true,
"fileMatch": [
// match all .tflint_ci.hcl and .tflint_trunk.hcl files
// 'ci' and 'trunk' have different configurations
"\\.tflint_(ci|trunk)\\.hcl$"
],
"minimumReleaseAge": "3 days",
"commitMessagePrefix": "feat(tflint): ",
"commitMessageTopic": "{{depName}}"
},
"vulnerabilityAlerts": {
"addLabels": [
"security"
Expand Down

0 comments on commit 70e03ed

Please sign in to comment.