Pre-receive hook

Does github support a pre-receive hook or not? I find conflicting information.

I would like to allow pushing of tags only when a certain file mentions the tag.

Seems like it’s not supported, right? :frowning: