Skip to content

Commit a1a9dfb

Browse files
committed
chore(renovate): tidy config and enable branch cleanup
1 parent 542d9bb commit a1a9dfb

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/renovate.json5

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
description: "Automated dependency updates for terraform-gcp-ubuntu-container-ready-e2-micro-vm",
44
extends: [
55
"config:recommended",
6-
"docker:enableMajor",
76
"replacements:k8s-registry-move",
87
":automergePr",
98
":automergePatch",
@@ -12,6 +11,7 @@
1211
":dependencyDashboard",
1312
":semanticCommits",
1413
":timezone(Europe/London)",
14+
"github>sudo-kraken/terraform-gcp-ubuntu-container-ready-e2-micro-vm//.github/renovate/actions.json5",
1515
"github>sudo-kraken/terraform-gcp-ubuntu-container-ready-e2-micro-vm//.github/renovate/devcontainers.json5",
1616
"github>sudo-kraken/terraform-gcp-ubuntu-container-ready-e2-micro-vm//.github/renovate/labels.json5",
1717
"github>sudo-kraken/terraform-gcp-ubuntu-container-ready-e2-micro-vm//.github/renovate/semanticCommits.json5",
@@ -20,15 +20,10 @@
2020
dependencyDashboardTitle: "Renovate Dashboard 🤖",
2121
suppressNotifications: ["prEditedNotification", "prIgnoreNotification"],
2222
rebaseWhen: "conflicted",
23-
schedule: ["before 9pm on friday"],
23+
pruneStaleBranches: true,
24+
pruneBranchAfterAutomerge: true,
2425
prConcurrentLimit: 5,
2526
labels: ["dependencies"],
27+
schedule: ["after 9pm on sunday"],
2628
minimumReleaseAge: "7 days",
27-
28-
packageRules: [
29-
{
30-
matchManagers: ["github-actions"],
31-
minimumReleaseAge: null,
32-
},
33-
],
3429
}

.github/renovate/actions.json5

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
4+
extends: ["helpers:pinGitHubActionDigests"],
5+
6+
packageRules: [
7+
{
8+
matchManagers: ["github-actions"],
9+
minimumReleaseAge: null,
10+
pinDigests: true,
11+
automerge: true,
12+
matchUpdateTypes: ["minor", "patch"],
13+
},
14+
],
15+
}

0 commit comments

Comments
 (0)