Skip to content

renovatebot/pre-commit-hooks

Repository files navigation

Renovate pre-commit hooks

A pre-commit hook to run renovate-config-validator when you reconfigure Renovate via PR.

Even though it is a Node-based hook, it works without any system-level dependencies.

Usage

For general usage:

repos:
  - repo: https://github.com/renovatebot/pre-commit-hooks
    rev: 39.69.0
    hooks:
      - id: renovate-config-validator

Or for a tighter configuration, opt into strict mode:

repos:
  - repo: https://github.com/renovatebot/pre-commit-hooks
    rev: 39.69.0
    hooks:
      - id: renovate-config-validator
        args: [--strict]