Files
ghost-docker/.github/renovate.json5
James Loh 3b31abe46d TA: Setup auto-merge via Renovate
no ref

- This just makes updates simpler by having Renovate handle them for us via commits
- This means it'll auto bump all minor + match updates to TA images but _not_ major and it'll instead open up a PR
2025-07-14 12:39:35 +10:00

43 lines
1.1 KiB
Plaintext

{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
":disableRateLimiting",
":automergeBranch",
":pinDependencies",
":separatePatchReleases",
],
suppressNotifications: ["prIgnoreNotification"],
packageRules: [
{
description: "Auto-merge initial digest pinning",
matchDatasources: ["docker", "github-tags"],
matchUpdateTypes: ["pinDigest"],
automerge: true,
},
{
description: "Auto-merge trusted package updates",
matchDatasources: ["docker", "docker-compose", "github-tags"],
matchUpdateTypes: ["minor", "patch"],
matchPackageNames: ["ghost/traffic-analytics"],
automerge: true,
},
{
description: "Don't pin Ghost images till we have v1",
matchDatasources: ["docker", "docker-compose"],
matchPackageNames: [
"ghost",
"ghcr.io/tryghost/activitypub",
"ghcr.io/tryghost/activitypub-migrations",
],
pinDigests: false,
},
{
description: "Restrict MySQL to patch updates only within 8.0",
matchDatasources: ["docker", "docker-compose"],
matchPackageNames: ["mysql"],
allowedVersions: "~8.0",
},
],
}