Skip to content

Automated Dependency Updates for Bazel Module

Renovate supports updating Bazel Module dependencies.

Enabling

Bazel Module functionality is currently in beta testing, so you must opt-in to test it. To enable it, add a configuration like this to either your bot config or your renovate.json:

{
  "bazel-module": {
    "enabled": true
  }
}

If you find any bugs, please create a new discussion first. If you find that it works well, then let us know too.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)MODULE\.bazel$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: bazel, github-tags.

Default config

{
  "fileMatch": [
    "(^|/)MODULE\\.bazel$"
  ],
  "enabled": false
}

Additional Information

Warning

The bazel-module manager is a work-in-progress. It is currently disabled. The manager only supports updating bazel_dep declarations. For more information, see issue 13658.

The bazel-module manager can update Bazel module (bzlmod) enabled workspaces.