mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
7ebba26236
* feat: add `commitHourlyLimit` Signed-off-by: Felipe Santos <felipe.santos@ericsson.com> * Update docs/usage/configuration-options.md Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com> * Remove date optionality * Fix lint comment * Fix coverage * Restore contents of commit.spec.ts * Use ! somewhere else too * Change optional parameter to nullish * Refactor `!` to use proper check * Fix set-branch-commit.spec.ts lint * Fix test coverage * Apply suggestions from code review Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com> * Split commit-limit-reached into two * Fix review comments * Use toUTC() where applicable * Simplify another test to utc() --------- Signed-off-by: Felipe Santos <felipe.santos@ericsson.com> Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
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.
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 existbaseBranchPatternsare ignored- Branch creation is not supported