Post-receive hook not triggered if new tag added via gitlab portal

works when committing and pushing via cli / git tools but if someone creates a new tag via gitlab’s interface the post-receive hook is not executed.

Affects version 7.0 (possibly prior) and latest 7.6

Not sure if this is by design, if so can you suggest a way to trigger this on a per repo basis?

(gitlab community edition)

I think this may have been by design.

It’s possible that the post-receive hook is only acted on when an external machine (i.e. your git tools calls a POST to the repository with a git push.

The gitlab UI likely is not performing the same operation as the git tools.