Skip to content

Allow running on detached head#12

Open
kevmeyer wants to merge 1 commit intoecugol:mainfrom
kevmeyer:km_detached_head
Open

Allow running on detached head#12
kevmeyer wants to merge 1 commit intoecugol:mainfrom
kevmeyer:km_detached_head

Conversation

@kevmeyer
Copy link

@kevmeyer kevmeyer commented Aug 4, 2024

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
Copy link
Author

kevmeyer commented Sep 3, 2024

@ecugol what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant