| { | |
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
| "description": "minimumReleaseAge holds an update back until its release is seven days old, so that a broken or compromised publish has time to be found and pulled before it reaches a PR. internalChecksFilter defaults to strict, so such an update waits rather than opening a PR that is revised later. The Error Prone rule and the GitHub official actions rule set minimumReleaseAge to null; a security update bypasses it through Renovate's own vulnerabilityAlerts defaults. Unless a rule sets its own schedule, Renovate opens a PR at any time once the release has aged, while fewer than ten of its PRs (prConcurrentLimit) are open, and creates at most five new PRs an hour (prHourlyLimit), so a burst after a pause spreads its first CI runs over two hours. Neither limit covers rebases.", | |
| "extends": [ | |
| "config:best-practices" | |
| ], | |
| "labels": [ | |
| "dependencies" | |
| ], | |
| "semanticCommits": "disabled", | |
| "schedule": [ | |
| "at any time" | |
| ], | |
| "prConcurrentLimit": 10, | |
| "prHourlyLimit": 5, | |
| "minimumReleaseAge": "7 days", | |
| "customManagers": [ | |
| { | |
| "customType": "regex", | |
| "description": "The compile-other-projects job in continuous-integration.yml builds each third-party project at the commit in its sha field. This manager moves sha to the tip of the branch field, using url to find the repository. It matches project, url, branch, and sha only as consecutive lines in that order, so other fields of a matrix entry, such as build, go after sha.", | |
| "managerFilePatterns": [ | |
| "/^\\.github/workflows/continuous-integration\\.yml$/" | |
| ], | |
| "matchStrings": [ | |
| "- project: (?<depName>\\S+)\\s+url: (?<packageName>\\S+)\\s+branch: (?<currentValue>\\S+)\\s+sha: (?<currentDigest>[0-9a-f]{40})" | |
| ], | |
| "datasourceTemplate": "git-refs" | |
| } | |
| ], | |
| "packageRules": [ | |
| { | |
| "description": "A major update lands on the dependency dashboard for manual review instead of opening a PR. The rule matches every manager, so a major Gradle plugin bump goes to the dashboard too, and so does a major bump of an action that GitHub does not publish; the last rule exempts actions/* and github/*.", | |
| "matchUpdateTypes": [ | |
| "major" | |
| ], | |
| "dependencyDashboardApproval": true | |
| }, | |
| { | |
| "description": "A minor, patch, pin or digest update is marked for automerge. Renovate turns on GitHub auto-merge for the PR (platformAutomerge defaults to true), and GitHub adds the PR to the merge queue of master once the master rulesets in .asf.yaml are satisfied: the required status checks pass and the PR has the required approving review. A major update matches none of these types, so after dependency dashboard approval it still waits for a maintainer to merge it; only the GitHub-published actions in the last rule automerge their majors. rebaseWhen stays at its default, auto, which Renovate resolves to conflicted because master has a merge queue. An automerge PR is therefore rebased only when it conflicts. Before the queue merges a PR, it runs CI on master with that PR and the PRs queued ahead of it applied.", | |
| "matchUpdateTypes": [ | |
| "minor", | |
| "patch", | |
| "pin", | |
| "pinDigest", | |
| "digest" | |
| ], | |
| "automerge": true | |
| }, | |
| { | |
| "description": "Error Prone and the Checker Framework stay manual merges, because NullAway compiles against their internals: ASTHelpers in Error Prone, and the dataflow framework that org.checkerframework:dataflow-nullaway ships. A green build does not show that a new release keeps the same semantics, so a maintainer reviews each such PR.", | |
| "matchPackageNames": [ | |
| "com.google.errorprone{/,}**", | |
| "org.checkerframework{/,}**" | |
| ], | |
| "automerge": false | |
| }, | |
| { | |
| "description": "NullAway compiles against Error Prone internals such as ASTHelpers, so an Error Prone release can change what NullAway builds and runs against; testErrorProneLatestSnapshot exists to catch such a change before the release lands (#1555). Error Prone skips the seven-day cooldown, so its PR opens as soon as a release lands: a broken release breaks this build rather than reaching users, and testErrorProneLatestSnapshot has already exercised the change while it was a snapshot. A major Error Prone release still needs dependency dashboard approval, like the majors of every dependency other than the GitHub-published actions.", | |
| "matchPackageNames": [ | |
| "com.google.errorprone{/,}**" | |
| ], | |
| "minimumReleaseAge": null | |
| }, | |
| { | |
| "description": "The errorProne entry in gradle/libs.versions.toml is the Error Prone release NullAway builds and tests against, and it tracks the newest one. It needs a group of its own because group:monorepos, which config:best-practices pulls in through config:recommended, otherwise collects every com.google.errorprone dependency into one error-prone-monorepo PR, pinned catalog entries included.", | |
| "matchJsonata": [ | |
| "sharedVariableName in ['errorProne', 'libs.versions.errorProne']" | |
| ], | |
| "groupName": "libs.versions.errorProne" | |
| }, | |
| { | |
| "description": "The errorProneOldest entry in gradle/libs.versions.toml is the oldest Error Prone release NullAway supports: README.md gives 2.36.0 as the minimum, and testErrorProneOldest runs the test suite against it. Raising that floor is a decision rather than maintenance, so a maintainer edits this entry by hand and Renovate leaves it alone. This rule and the errorProne, errorProneJdk17 and guava rules match on sharedVariableName, the version-catalog alias Renovate records for a dependency, because the three Error Prone entries resolve to the same com.google.errorprone artifacts and no other stable field distinguishes them. Each rule also accepts a libs.versions.-prefixed spelling as insurance. Renovate reports the bare alias for every entry here, because it strips that prefix while more than one dependency shares a catalog entry; an entry that build.gradle reads through an ext property would keep the prefix if a refactor left a single dependency on it. Renaming an alias would therefore drop its rule without failing the validator, so the lint workflow checks the names separately.", | |
| "matchJsonata": [ | |
| "sharedVariableName in ['errorProneOldest', 'libs.versions.errorProneOldest']" | |
| ], | |
| "enabled": false | |
| }, | |
| { | |
| "description": "The errorProneJdk17 entry in gradle/libs.versions.toml holds the newest Error Prone that runs on JDK 17, because 2.43.0 and later require JDK 21 (#1401). The testJdk17 task puts its jars in front of the test classpath. This entry takes 2.42.x patch releases only. The bound here and in the guava rule is written as a Gradle range, the syntax Renovate's gradle versioning parses. Renovate's gradle versioning has no '<' range syntax: a bound of '< 2.43' works in allowedVersions only through Renovate's fallback to npm semver, and in matchCurrentVersion it matches nothing.", | |
| "matchJsonata": [ | |
| "sharedVariableName in ['errorProneJdk17', 'libs.versions.errorProneJdk17']" | |
| ], | |
| "groupName": "libs.versions.errorProneJdk17", | |
| "allowedVersions": "[,2.43)" | |
| }, | |
| { | |
| "description": "The guava entry in gradle/libs.versions.toml is the Guava version NullAway itself depends on, so it stays on 31.x; guava-recent-unit-tests exists to test newer Guava without bumping it (#629). The guava-latest entry holds that newer Guava, resolves to the same com.google.guava:guava, and keeps the default schedule and the preset guava-monorepo group. The guava entry needs a group of its own, or group:monorepos would put both entries in one PR.", | |
| "matchJsonata": [ | |
| "sharedVariableName in ['guava', 'libs.versions.guava']" | |
| ], | |
| "groupName": "libs.versions.guava", | |
| "allowedVersions": "[,32)" | |
| }, | |
| { | |
| "description": "The errorProneLatestSnapshot configuration in nullaway/build.gradle asks for 1.0-HEAD-SNAPSHOT, the marker that resolves to the current Error Prone snapshot in the Sonatype snapshot repository. Renovate reads the marker as version 1.0 and offers every release above it, and replacing it would break testErrorProneLatestSnapshot.", | |
| "matchCurrentValue": "1.0-HEAD-SNAPSHOT", | |
| "enabled": false | |
| }, | |
| { | |
| "description": "jmh/build.gradle pins every version it names, so none of them takes an update. Most of them compile a released NullAway against the dependency versions that release was built with. The caffeine, autodispose and nullaway versions also appear as literal substrings in the classpath filters in that file, so a bump would leave a filter matching nothing and put the benchmark artifact back on its own classpath.", | |
| "matchFileNames": [ | |
| "jmh/build.gradle" | |
| ], | |
| "enabled": false | |
| }, | |
| { | |
| "description": "com.android.support is the legacy Android support library, superseded by AndroidX. sample-app is the only module that depends on it.", | |
| "matchPackageNames": [ | |
| "com.android.support{/,}**" | |
| ], | |
| "enabled": false | |
| }, | |
| { | |
| "description": "The third-party projects that compile-other-projects builds move together in one weekly PR. A git-refs digest carries no release timestamp, so minimumReleaseAge would hold it back forever. updateNotScheduled is off so that the open PR keeps Monday's commits rather than moving to every new upstream commit and rerunning CI. The PR is where a patch in .github/third-party stops applying or turns out to be upstream already; .github/third-party/README.md says what to do then. The PR does not automerge: a patch that upstream already contains leaves CI green and only annotates the file, so a maintainer has to read the run to delete it.", | |
| "groupName": "third-party projects built in CI", | |
| "matchManagers": [ | |
| "custom.regex" | |
| ], | |
| "matchDatasources": [ | |
| "git-refs" | |
| ], | |
| "schedule": [ | |
| "before 6am on Monday" | |
| ], | |
| "minimumReleaseAge": null, | |
| "updateNotScheduled": false, | |
| "automerge": false | |
| }, | |
| { | |
| "description": "actions/* and github/* are maintained by GitHub and can update together. GitHub publishes them, so they skip the seven-day cooldown; an action from any other publisher waits it out. A major release of these actions also opens without dependency dashboard approval and automerges like a minor one, because the continuous-integration, renovate-config-lint and zizmor workflows run them on the PR itself. Three uses run only after the merge: the publish-snapshot job on a push to master, publish-release.yml on a release tag, and jmh-benchmark.yml when a maintainer labels a PR. A breaking major in those shows up there first.", | |
| "groupName": "github official actions", | |
| "matchManagers": [ | |
| "github-actions" | |
| ], | |
| "matchPackageNames": [ | |
| "actions/**", | |
| "github/**" | |
| ], | |
| "minimumReleaseAge": null, | |
| "dependencyDashboardApproval": false, | |
| "automerge": true | |
| } | |
| ] | |
| } |