Files
ghost-docker/.github/renovate.json5
James Loh d06485b4d4 AP: Tag specific version along with migrate
- AP migration should be tagged along with the main AP instance to keep things in line
  - Renovate will now group them together so it bumps them at the same time in the same PR/commit etc to keep things aligned
- Moving to specific version pinning as well to make the renovate diffs clearer
2025-07-14 13:42:36 +10:00

55 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"],
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",
},
],
}