0

I know that I should check for pre-commit hook updates from time to time, but I rarely think about running pre-commit autoupdate. I end up using out-of-date pre-commit hooks for months.

pre-commit.ci will automatically run pre-commit autoupdate and submit pull requests if updates are found, but it only supports repos hosted on GitHub, and a lot of my repos aren’t hosted on GitHub.

How can I make sure that my pre-commit hooks stay up to date?

Ginger Jesus
  • 95
  • 1
  • 2
  • 13

1 Answers1

1

You can use a crontab to automatically update it for you on a regular basis. You can take a look at a similar solution in this question.