Skip to content

Commit d6a3108

Browse files
committed
chore: add renovate configuration
1 parent 8bfa413 commit d6a3108

2 files changed

Lines changed: 55 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,5 @@ updates:
2727
patterns:
2828
- "*"
2929

30-
- package-ecosystem: "terraform"
31-
open-pull-requests-limit: 20
32-
directories:
33-
- "ovh/*/providers.tf"
34-
schedule:
35-
interval: "weekly"
36-
day: "friday"
37-
time: "04:30"
38-
groups:
39-
terraform-dependencies:
40-
patterns:
41-
- "*"
30+
# Terraform updates are handled by Renovate (see renovate.json)
31+
# Dependabot doesn't support recursive directory scanning for monorepos

renovate.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"schedule": [
7+
"before 6am on friday"
8+
],
9+
"timezone": "Europe/Paris",
10+
"prConcurrentLimit": 20,
11+
"prCreation": "immediate",
12+
"rebaseWhen": "behind-base-branch",
13+
"semanticCommits": "enabled",
14+
"packageRules": [
15+
{
16+
"description": "Group all Terraform provider updates",
17+
"matchManagers": ["terraform"],
18+
"matchDatasources": ["terraform-provider"],
19+
"groupName": "terraform-providers",
20+
"automerge": false
21+
},
22+
{
23+
"description": "Group all Terraform module updates",
24+
"matchManagers": ["terraform"],
25+
"matchDatasources": ["terraform-module"],
26+
"groupName": "terraform-modules",
27+
"automerge": false
28+
},
29+
{
30+
"description": "Pin GitHub Actions to commit SHA",
31+
"matchManagers": ["github-actions"],
32+
"pinDigests": true
33+
},
34+
{
35+
"description": "Group all GitHub Actions updates",
36+
"matchManagers": ["github-actions"],
37+
"groupName": "github-actions",
38+
"automerge": false
39+
},
40+
{
41+
"description": "Group Docker base image updates",
42+
"matchManagers": ["dockerfile"],
43+
"groupName": "docker-base-images",
44+
"automerge": false
45+
},
46+
{
47+
"description": "Group devcontainer updates",
48+
"matchManagers": ["devcontainer"],
49+
"groupName": "devcontainer",
50+
"automerge": false
51+
}
52+
]
53+
}

0 commit comments

Comments
 (0)