Last active
August 12, 2026 13:37
-
-
Save MShekow/9fb18735a4c1ac4ca6554351b859c3da to your computer and use it in GitHub Desktop.
Renovate bot configuration template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| // Note: we use JSONC to be able to use comments | |
| // This file is a suggestion for how to customize the default "config:best-practices" preset. The sections below reference | |
| // numbered tips from the cheat sheet in this article: https://www.augmentedmind.de/2023/07/30/renovate-bot-cheat-sheet/ | |
| { | |
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
| // Use better default preset and ignore subpresets you don't need (#2) | |
| "extends": [ | |
| "config:best-practices" | |
| ], | |
| "ignorePresets": [ | |
| ":maintainLockFilesWeekly" | |
| ], | |
| // Configure PR assignees (#4) | |
| "assignees": [ | |
| "peter.pan", | |
| "mister.proper" | |
| ], | |
| "packageRules": [ | |
| // Disable updates for specific dependencies (#3) | |
| { | |
| "matchPackageNames": [ | |
| "neutrino" | |
| ], | |
| "enabled": false | |
| }, | |
| // Avoid spam via automatic merging (#6) | |
| { | |
| "description": "Automatically merge minor and patch-level updates", | |
| "matchUpdateTypes": [ | |
| "minor", | |
| "patch", | |
| "digest" | |
| ], | |
| "automerge": true, // Force Renovate to not create a PR (but merge its branches directly), to avoid PR-related email spam | |
| "automergeType": "branch" // remove this line if you DO want emails (spam) | |
| }, | |
| // Keep up to date with Renovate's development (#11) | |
| { | |
| "description": "Ensures that Renovate does NOT try to pin the digest for the renovate/renovate image", | |
| "matchDatasources": [ | |
| "docker" | |
| ], | |
| "matchPackageNames": "renovate/renovate", | |
| "pinDigests": false | |
| }, | |
| { | |
| "description": "Make Renovate create a PR (and thus, an email notification), whenever there is a new major Renovate version", | |
| "matchFileNames": ["renovate-update-notification/Dockerfile"], | |
| "matchUpdateTypes": ["major"], | |
| // you can also set automerge to true - emails for the PRs will already have been sent anyway, so there is | |
| // no strict reason to keep the PR open - unless you want to associate it with updates you make to renovate.jsonc | |
| "automerge": false, | |
| // just re-states the default and ensures that PRs are really created - you can remove this line | |
| // if you did not change "prCreation" elsewhere to some non-default value | |
| "prCreation": "immediate", | |
| } | |
| ], | |
| // Fix default branch rebasing - always rebase still-open temporary branches, whenever its source branch has changed (#8) | |
| "rebaseWhen": "behind-base-branch", | |
| // Handle pulled dependency updates (#9) | |
| "rollbackPrs": true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment