Renovatebot would solve this consistently and is more broadly applicable.
Renovatebot (GitLab)/dependabot (GitHub) tends to update versions rather than add new entries.