Description
Hey, it's Pedro (see #3722) and I'm back with another security suggestion.
Use case
kotlinx.coroutines has many dependencies declared in a few different places. Looking at the commit history, I see there is significant effort to keep these dependencies up to date.
Renovatebot is a GitHub App that can help automate some of this work by sending routine PRs that update these dependencies for you. It can be configured to send PRs as soon as a dependency's new version is released, or to group the dependencies together.
I unfortunately can't really help the project install Renovatebot, since it requires maintainers to install the App (see the docs). However, I'll send a PR with a suggested config file to help you as much as I can.
Note that the standard Renovate App requires write-access to the repository. If this isn't something you're comfortable with, there's also the Forking Renovate App, which only needs read-access. However, Forking Renovate can only send PRs to the repo's default branch (master
), not to the recommended develop
branch.
An alternative is usually GitHub's Dependabot, but it unfortunately doesn't work with projects that set versions in a gradle.properties
file.
Prior Art
These are the PRs Renovate created on my fork, which I've configured to group dependencies together: pnacht#12 (minor version bumps), pnacht#13 (major version bumps). Or check out out the single-dependency PRs it would otherwise send.