Skip to content

Conversation

konstin
Copy link
Member

@konstin konstin commented Sep 2, 2025

Dependabot always updates the lower bounds Cargo.toml, instead of only Cargo.lock for compatible updates, while updating Cargo.toml for breaking updates , as we want it for a library.

From https://docs.renovatebot.com/configuration-options/#rangestrategy:

replace: Replace the range with a newer one if the new version falls outside it, and update nothing otherwise

update-lockfile: Update the lock file when in-range updates are available, otherwise replace for updates out of range.

Additionally with this migration, I've pinned GitHub Actions to hashes, which unlike tags can't be changed.

The basic Renovate config is smaller than the dependabot config, it uses autodiscovery and finds Cargo and GitHub Actions. There's a dashboard with the option to create and rebase PRs and with logs.

You can see a demo of this change and the PRs renovate creates in https://github.com/konstin/pubgrub-renovate.

To actually enable this change, we need to give the Renovate Mend GitHub app access to the repository.

Dependabot always updates the lower bounds `Cargo.toml`, instead of only `Cargo.lock` for compatible updates, while updating `Cargo.toml` for breaking updates , as we want it for a library.

From https://docs.renovatebot.com/configuration-options/#rangestrategy:

> replace: Replace the range with a newer one if the new version falls outside it, and update nothing otherwise
>
> update-lockfile: Update the lock file when in-range updates are available, otherwise replace for updates out of range.

Additionally with this migration, I've pinned GitHub Actions to hashes, which unlike tags can't be changed.

The basic Renovate config is smaller than the dependabot config, it uses autodiscovery and finds Cargo and GitHub Actions. There's a dashboard with the option to create and rebase PRs and with logs.

You can see a demo of this change and the PRs renovate creates in https://github.com/konstin/pubgrub-renovate.

To actually enable this change, we need to give the Renovate Mend GitHub app access to the repository.
@konstin
Copy link
Member Author

konstin commented Sep 2, 2025

This is how the dashboard looks like in my test repo

image

@konstin konstin requested a review from Eh2406 September 2, 2025 13:04
@konstin konstin added this pull request to the merge queue Sep 4, 2025
Merged via the queue into dev with commit 3c6a28f Sep 4, 2025
7 checks passed
@konstin konstin deleted the konsti/dev/use-renovate-instead-of-dependabot branch September 4, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants