Skip to content

(Event).Commit has value of "HEAD" instead of SHA-1 #11

@gbbr

Description

@gbbr

Thanks for this awesome library! I wish it would get more attention and more stars because it is definitely helping us out a lot at Sourcegraph lately.

I was hoping you could guide me on what the issue could be, because sometimes in my post-push hooks I receive events that have Commit set to "HEAD" and it is causing me some issues (documentation says it should be the SHA-1).

Would you be able to provide some pointers as to why this happens and how it could be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions