awslabs / git-secrets

Prevents you from committing secrets and credentials into git repositories
Apache License 2.0
12.36k stars 1.17k forks source link

Pre-Commit Autoupdate fails due to lack of `.pre-commit-hooks.yaml` file #256

Open HariSekhon opened 2 months ago

HariSekhon commented 2 months ago

This works for other pre-commit repos but fails for this one:

$ pre-commit autoupdate
...
... <other repos succeed>
...
[https://github.com/awslabs/git-secrets.git] 
=====> /var/folders/30/kxjrq3fj5tqdhsvbj3p9m2fh0000gq/T/tmp48_zcmnd/.pre-commit-hooks.yaml is not a file
...
... <other repos succeed>
...

The tags in this repo are years old.

Any chance of getting some new tags / releases from recent years so that pre-commit autoupdate works for this repo?

Right now I've just fixed it to the latest hashref to get it working, but this will continue to fail with the above error and not update to new versions of the code.