-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
What Renovate type are you using?
Renovate Hosted
Describe the bug
As of a couple releases ago, the go_repository rule in Bazel looks like this example:
go_repository(
name = "com_github_pkg_errors",
importpath = "github.com/pkg/errors",
sum = "h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=",
version = "v0.8.1",
)Specifically, the new sum attribute has been added. Renovate is not able to handle these new go_repository rules.
To Reproduce
Steps to reproduce the behavior:
- Create repository with a Bazel
WORKSPACEfile and ago_repositoryrule like the one above. - Configure Renovate to update Bazel dependencies.
Expected behavior
I expect a PR to be created to update the go_repository with a new version and sum value.
Additional context
This is how the go_repository documentation describes sum:
A hash of the module contents. In module mode,
go_repositorywill verify the downloaded module matches this sum. May only be set whenversionis also set.A value for
summay be found in thego.sumfile or by runninggo mod download -json <module>@<version>.