mirror of
https://github.com/renovatebot/pre-commit-hooks.git
synced 2026-03-30 19:36:56 +00:00
15 lines
502 B
Markdown
15 lines
502 B
Markdown
# Renovate pre-commit hooks
|
|
|
|
A [pre-commit](https://pre-commit.com/) hook to run `renovate-config-validator` when you [reconfigure Renovate via PR](https://docs.renovatebot.com/getting-started/installing-onboarding/#reconfigure-via-pr).
|
|
|
|
Even though it is a Node-based hook, it works [without any system-level dependencies](https://pre-commit.com/#node).
|
|
|
|
## Usage
|
|
|
|
```yaml
|
|
repos:
|
|
- repo: github.com/maxbrunet/pre-commit-renovate
|
|
rev: 31.78.2
|
|
hooks:
|
|
- id: renovate-config-validator
|
|
```
|