{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": [
		"config:recommended"
	],
	"labels": [
		"dependencies"
	],
	"customManagers": [
		{
			"customType": "regex",
			"managerFilePatterns": [
				"/defaults/main.yml$/"
			],
			"matchStrings": [
				"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?(?:_version|_tag)\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
			]
		}
	],
	"packageRules": [
		{
			"ignoreUnstable": false,
			"versioning": "loose",
			"matchSourceUrls": [
				"https://github.com/devture/com.devture.ansible.role{/,}**",
				"https://github.com/mother-of-all-self-hosting{/,}**"
			]
		},
		{
			"description": "mautrix images are dual-tagged (v0.YYMM.PATCH and vYY.MM[.PATCH]). Stick to the v0 scheme: it matches the git tags (needed for self-building) and has a consistent number of components (the calver tags do not, which makes Renovate stop offering updates).",
			"matchPackageNames": [
				"dock.mau.dev/mautrix/**"
			],
			"allowedVersions": "/^v0\\./"
		}
	],
	"pre-commit": {
		"enabled": true
	}
}
