From eac232429281bfe8f290e7e0399b79ddc1000e31 Mon Sep 17 00:00:00 2001 From: James Loh Date: Thu, 10 Jul 2025 16:11:19 +1000 Subject: [PATCH] Start setting up initial renovate config --- .github/renovate.json5 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..8456d31 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,33 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ + ":enableRenovate", + "config:recommended", + ":dependencyDashboard", + ":separatePatchReleases", + "docker:enableMajor", + "docker:pinDigests", + ], + enabled: true, + dependencyDashboard: true, + suppressNotifications: ["prIgnoreNotification"], + automergeType: "branch", + packageRules: [ + { + description: "Auto-merge initial digest pinning", + matchDatasources: ["docker", "github-tags"], + matchUpdateTypes: ["pinDigest"], + automerge: true, + }, + { + description: "Don't pin Ghost images till we have v1", + matchDatasources: ["docker", "docker-compose"], + matchPackageNames: [ + "ghost", + "ghost/traffic-analytics", + "ghcr.io/tryghost/activitypub", + ], + pinDigests: false, + }, + ], +}