pre-commit-hooks-django icon indicating copy to clipboard operation
pre-commit-hooks-django copied to clipboard

Allow running on detached head

Open kevmeyer opened this issue 6 months ago • 1 comments

This allows running on a detached head. This enables running this hook e.g. in "speculative-merge" CI job cases. Previously:

Untracked Django migrations checker...........................................................Failed
- hook id: check-untracked-migrations
- exit code: 1

fatal: ref HEAD is not a symbolic ref

kevmeyer avatar Aug 04 '24 15:08 kevmeyer