| { |
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| "extends": ["local>renovate-presets"], |
| "semanticCommits": "enabled", |
| "packageRules": [ |
| { |
| "description": "Automerge devDependencies updates", |
| "matchDatasources": ["npm"], |
| "matchDepTypes": ["devDependencies"], |
| "matchUpdateTypes": ["minor", "patch", "pin"], |
| "matchCurrentVersion": "!/^0/", |
| "automerge": true, |
| "automergeType": "pr", |
| "autoApprove": true |
| }, |
| { |
| "description": "Automerge updates to @types/chrome even if the major version is 0", |
| "matchDatasources": ["npm"], |
| "matchPackageNames": ["@types/chrome"], |
| "matchUpdateTypes": ["minor", "patch", "pin"], |
| "automerge": true, |
| "automergeType": "pr", |
| "autoApprove": true |
| }, |
| { |
| "description": "Automerge all updates to renovate", |
| "matchDatasources": ["npm"], |
| "matchPackageNames": ["renovate"], |
| "matchUpdateTypes": ["major", "minor", "patch", "pin"], |
| "automerge": true, |
| "automergeType": "pr", |
| "autoApprove": true |
| }, |
| { |
| "description": "Automerge non-major updates to most Bazel modules and .bazelversion", |
| "matchManagers": ["bazel", "bazel-module", "bazelisk"], |
| "matchPackageNames": ["!rules_nodejs"], |
| "matchUpdateTypes": ["minor", "patch"], |
| "automerge": true, |
| "automergeType": "pr", |
| "autoApprove": true |
| }, |
| { |
| "description": "Group rules_proto_grpc Bazel modules", |
| "matchDatasources": [ |
| "bazel" |
| ], |
| "matchPackageNames": [ |
| "/^rules_proto_grpc/" |
| ], |
| "groupName": "rules_proto_grpc", |
| "group": { |
| "commitMessageTopic": "{{{groupName}}} group" |
| } |
| }, |
| { |
| "description": "Prompt to update the Node.JS version when updating rules_nodejs", |
| "matchPackageNames": ["rules_nodejs"], |
| "matchDatasources": ["bazel"], |
| "prBodyNotes": [ |
| "⚠️ **IMPORTANT:** Please remember to update this CL with the latest LTS Node.JS version available in this rules_nodejs release. **[\\[check available versions\\]](https://raw.githubusercontent.com/bazel-contrib/rules_nodejs/refs/tags/v{{newVersion}}/nodejs/private/node_versions.bzl#:~:text=%7D)**" |
| ] |
| }, |
| { |
| "description": "Prompt to update the Typescript version used by rules_ts when updating the typescript package", |
| "matchPackageNames": ["typescript"], |
| "matchDatasources": ["npm"], |
| "prBodyNotes": [ |
| "⚠️ **IMPORTANT:** Please remember to sync the Typescript version in MODULES.bazel in this CL. **[\\[view checksums\\]](https://raw.githubusercontent.com/aspect-build/rules_ts/HEAD/ts/private/versions.bzl#:~:text=%7D)**" |
| ] |
| } |
| ], |
| "schedule": ["every weekend"], |
| "postUpgradeTasks": { |
| "commands": [ |
| "bazel mod deps --lockfile_mode=update", |
| "bazel mod tidy", |
| "bazel run //tools:preset.update" |
| ], |
| "fileFilters": ["MODULE.bazel.lock", "tools/preset.bazelrc"], |
| "executionMode": "branch" |
| } |
| } |