diff --git a/docs/usage/self-hosted-configuration.md b/docs/usage/self-hosted-configuration.md index 08781cc1a396f30e683f038cc60e2d8cbb5448f0..e36fec8fd9ef21a0eac0770eed7ac694733704ca 100644 --- a/docs/usage/self-hosted-configuration.md +++ b/docs/usage/self-hosted-configuration.md @@ -513,6 +513,17 @@ Similarly to `onboardingBranch`, if you have an existing Renovate installation a ## optimizeForDisabled +When this option is `true`, Renovate will do the following during repository initialization: + +- Attempt to fetch the default config file (`renovate.json`) +- Check if the file contains `"enabled": false` + +If the file exists and the config is disabled, Renovate will skip the repo without cloning it. +Otherwise, it will continue as normal. + +This option is only useful where the ratio of disabled repos is quite high. +It costs one extra API call per repo but has the benefit of skipping cloning of those which are disabled. + ## password ## persistRepoData