Files
ghost-docker/.github/renovate.json5
James Loh 31f0c5a7d7 AP: Add docker images to auto-merge config
no ref

- Since we've created v1 now we can auto-merge new updates + pin digests
- This helps us ensure customers are running the specific version we want
2025-07-14 13:42:36 +10:00

58 lines
1.5 KiB
Plaintext

{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
":disableRateLimiting",
":automergeBranch",
":pinDependencies",
":separatePatchReleases",
],
suppressNotifications: ["prIgnoreNotification"],
packageRules: [
{
description: "Group ActivityPub containers together",
matchDatasources: ["docker", "github-tags", "docker-compose"],
matchPackageNames: [
"ghcr.io/tryghost/activitypub",
"ghcr.io/tryghost/activitypub-migrations",
],
groupName: "ActivityPub",
groupSlug: "activitypub",
additionalBranchPrefix: "",
separateMinorPatch: false,
},
{
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",
"ghcr.io/tryghost/activitypub",
"ghcr.io/tryghost/activitypub-migrations",
],
automerge: true,
},
// We don't need to pin the Ghost image since its pulled via env variables
{
description: "Don't pin Ghost image",
matchDatasources: ["docker", "docker-compose"],
matchPackageNames: [
"ghost",
],
pinDigests: false,
},
{
description: "Restrict MySQL to patch updates only within 8.0",
matchDatasources: ["docker", "docker-compose"],
matchPackageNames: ["mysql"],
allowedVersions: "~8.0",
},
],
}