Skip to content
Discussion options

You must be logged in to vote

pre-commit only runs on the changed files, so if renovate.json has no staged changes, it will not be checked.

The CI tests the hook with --all-files and it passes:

https://github.com/renovatebot/pre-commit-hooks/runs/8180885985?check_suite_focus=true#step:5:26

Please see the official documentation for more information: https://pre-commit.com/#pre-commit-run

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #491 on May 06, 2025 12:26.