Files
renovate/lib/modules/platform/local/readme.md
Gregor Zeitlinger 6504cf0efb fix(platform): preserve explicit local dryRun (#43129)
* fix(platform): preserve explicit local dryRun

* fix: preserve explicit dryRun in local platform

* fix(platform/local): only preserve dryRun=extract; fall back to lookup otherwise

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>

* docs(platform/local): document dryRun=extract override

---------

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
2026-05-11 06:39:12 +00:00

25 lines
1.2 KiB
Markdown

# Local
With the "local" platform you can perform dry runs of Renovate against the local file system.
This can be handy when testing a new Renovate configuration for example.
## Usage
Run the `renovate --platform=local` command in the directory you want Renovate to run in.
In this mode, Renovate defaults to `dryRun=lookup`.
You can override this by passing `--dry-run=extract` to stop after the extract phase.
Other `dryRun` values (such as `full`) are not supported on the local platform and fall back to `lookup`.
Avoid giving "repositories" arguments, as this command can only run in a _single_ directory, and it can only run in the _current working_ directory.
You may run the command above on "plain" directories, or "Git directories".
You don't need to provide any config, as the command will run with or without "repo config".
The command doesn't do any "compare" - or before and after analysis - if you want to test a new config then you must manually compare.
## Limitations
- `local>` presets can't be resolved. Normally these would point to the local platform such as GitHub, but in the case of running locally, it does not exist
- `baseBranchPatterns` are ignored
- Branch creation is not supported