Setting up global pre-receive hook


We wanted to setup a same pre-receive hook for all the user’s repositories being managed by Gitlab. Is there any way to define global pre-receive hook that applies to all repositories across users? Basically we run checkstyle check in that pre-receive hook that we want to enforce in all project being managed. One tedious way is to add manually in all repositories however, that would be difficult to maintain if new repository is being added by a user.


Had you added the pre-receive hook? Because I need to add the pre-receive hook globally!