From 3b941ec269bedd36bebffe0a8142ecd5ec47d40d Mon Sep 17 00:00:00 2001 From: Maxime Brunet <max@brnt.mx> Date: Wed, 18 May 2022 20:55:16 -0700 Subject: [PATCH] docs: mention pre-commit hook when reconfiguring via PR (#15639) --- docs/usage/getting-started/installing-onboarding.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/usage/getting-started/installing-onboarding.md b/docs/usage/getting-started/installing-onboarding.md index 3d307f4c63..4e3f942257 100644 --- a/docs/usage/getting-started/installing-onboarding.md +++ b/docs/usage/getting-started/installing-onboarding.md @@ -123,6 +123,9 @@ If you want to make config edits directly, follow these steps: 1. Validate your config by running `renovate-config-validator` 1. If the improved config passes the validation, merge the branch into your mainline branch +You can configure a [pre-commit](https://pre-commit.com) hook to validate your configuration automatically. +Please check out the [`renovatebot/pre-commit-hooks` repository](https://github.com/renovatebot/pre-commit-hooks) for more information. + ### Nuke config and re-onboard Perhaps you really liked the interactive onboarding PR and want to use it again. -- GitLab