mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 10:33:39 +00:00
6504cf0efb
* 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>
25 lines
1.2 KiB
Markdown
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
|