Reconfiguring Renovate

Reconfiguring Renovate

There will likely be times when you need to change your Renovate config. There are two recommended approaches:

Reconfigure via PR

If you wish to make config edits directly, it's recommended to do so via a PR and then run Renovate's config validator to verify it. The validator is named renovate-config-validator and installed alongside renovate itself if you run npm i -g renovate or equivalent. If it validates your new config then it should be safe to merge.

Nuke config and re-onboard

Perhaps you really liked the interactive PR and want to see it again. In that case:

  1. Find and rename your original Configure Renovate PR (e.g. to Configure Renovate - old)
  2. Delete your Renovate config (e.g. renovate.json) from your base branch

This will be enough to trick Renovate into thinking that the repository was never onboarded and it will trigger a new Configure Renovate PR again. Any existing Renovate PRs in progress may be closed, however.