gitlab hook

I now customize a gitlab global hook to intercept some illegal commits, and I want to get the submitted project id or name, how can I get the project name?