Skip to content

Allow running on detached head#12

Open
kevmeyer wants to merge 1 commit into
ecugol:mainfrom
kevmeyer:km_detached_head
Open

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

Conversation

@kevmeyer

@kevmeyer kevmeyer commented Aug 4, 2024

Copy link
Copy Markdown

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

kevmeyer commented Sep 3, 2024

Copy link
Copy Markdown
Author

@ecugol what do you think?

@blag blag left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blag blag mentioned this pull request Jul 10, 2026
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.

2 participants