{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:best-practices", ], // Do not rebase when the default branch is updated "rebaseWhen": "never", customManagers: [ { customType: 'regex', description: 'Match container images in Justfile with tag and digest', managerFilePatterns: [ '^Justfile$', ], matchStrings: [ '(?.+?)\\s:=\\s(?:env\\(.+?,\\s)?["\'](?\\S+?):(?\\S+?)@(?sha256:[a-f0-9]+?)["\']\\)?', ], datasourceTemplate: 'docker', }, { customType: 'regex', description: 'Match container images in Justfile run_args without tag or digest', managerFilePatterns: [ '^Justfile$', ], matchStrings: [ 'run_args\\+=\\((?[a-zA-Z0-9._:/-]+):?(?\\S+?)\\)', ], datasourceTemplate: 'docker', versioningTemplate: 'docker', }, ], "packageRules": [ { "automerge": true, "matchUpdateTypes": ["pin", "pinDigest"] }, { "description": "Auto-merge digest updates for base image and trigger build", "automerge": true, "matchManagers": ["dockerfile"], "matchUpdateTypes": ["digest"], "matchFileNames": ["Containerfile"], "labels": ["renovate", "automerge"], }, { "description": "Disable automerge for all rechunk updates to allow manual review", "matchUpdateTypes": ["major", "minor", "patch", "digest", "pinDigest"], "matchPackageNames": ["ghcr.io/hhd-dev/rechunk"], "automerge": false }, { "description": "Enable GitHub Actions updates since they are now pinned with SHA", "enabled": true, "matchUpdateTypes": ["digest", "pinDigest", "pin", "major", "minor", "patch"], "matchDepTypes": ["action"], "matchFileNames": [".github/workflows/**.yaml", ".github/workflows/**.yml"], }, ] }