From renovate
Datasource-specific automerge rules — shared presets from mmalyska/renovate-config and per-repo scoping patterns from mmalyska/home-ops
How this skill is triggered — by the user, by Claude, or both
Slash command
/renovate:automerge-rulesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when configuring automerge in a `renovate.json5`. It covers the shared presets (extend them directly), how to scope automerge to specific files or packages, and when to use `branch` vs `pr` automerge type.
Use this skill when configuring automerge in a renovate.json5. It covers the shared presets (extend them directly), how to scope automerge to specific files or packages, and when to use branch vs pr automerge type.
These are provided by mmalyska/renovate-config. Extend the ones you need:
automerge-docker-digestAutomerge digest-only updates for all docker images:
{
"packageRules": [{
"matchDatasources": ["docker"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["digest"],
"ignoreTests": false
}]
}
Use when: you pin all Docker images to digests and want them to stay current automatically.
automerge-github-actionsAutomerge minor/patch/digest for GitHub Actions:
{
"packageRules": [{
"matchManagers": ["github-actions"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch", "digest"],
"ignoreTests": true
}]
}
ignoreTests: true means Renovate merges directly without waiting for CI — appropriate for Actions where the update itself doesn't affect your code.
automerge-terraform-providersAutomerge minor/patch for Terraform providers:
{
"packageRules": [{
"matchDatasources": ["terraform-provider"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"],
"ignoreTests": false
}]
}
automerge-galaxy-collections / automerge-galaxy-rolesAutomerge minor/patch for Ansible Galaxy collections and roles:
{
"packageRules": [{
"matchDatasources": ["galaxy-collection"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"],
"ignoreTests": true
}]
}
automergeType: "branch" vs "pr"| Type | Behavior | Use when |
|---|---|---|
"branch" | Renovate merges directly to base branch if CI passes (or ignoreTests) | Low-risk updates; CI is reliable; prefer fewer PRs |
"pr" | Creates a PR that auto-merges after approval/CI | Higher-risk updates; want review trail; GitHub branch protection required |
For most automerge rules in home-ops-style repos, "branch" is preferred.
Use matchFileNames to limit automerge to specific directories:
// .github/renovate/autoMerge.json5
{
"packageRules": [
{
"description": "Auto merge cluster apps (not core)",
"matchDatasources": ["github-releases", "github-tags", "helm", "docker"],
"automerge": true,
"automergeType": "pr",
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchFileNames": ["cluster/**", "!cluster/core/**"],
"ignoreTests": false
},
{
"description": "Auto merge devcontainer digest",
"matchDatasources": ["docker"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["digest"],
"matchFileNames": [".devcontainer/devcontainer.json"],
"ignoreTests": true
}
]
}
Use matchPackageNames to limit to specific packages:
{
"packageRules": [
{
"description": "Auto merge pre-commit hooks",
"matchDatasources": ["github-releases", "github-tags"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"],
"matchPackageNames": [
"pre-commit/pre-commit-hooks",
"adrienverge/yamllint"
],
"ignoreTests": true
}
]
}
minimumReleaseAgeAdd a minimum age before automerging to avoid immediately pulling in a botched release:
{
"packageRules": [{
"matchDatasources": ["github-releases"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"],
"minimumReleaseAge": "3 days"
}]
}
The base preset does not automerge major versions for any datasource. To explicitly block a datasource from major automerge:
{
"packageRules": [{
"matchDatasources": ["helm"],
"matchUpdateTypes": ["major"],
"automerge": false
}]
}
npx claudepluginhub mmalyska/claude-plugins --plugin renovateGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.