Setting Global Git Hooks for All User Repositories in Gitea

Hello Gitea Community,

I hope this message finds you well. I am currently exploring the capabilities of Gitea and have a question regarding the implementation of global Git hooks.

Is it possible to set up a global Git hook that would run for all user repositories without having to add it to each repository manually? Specifically, I am looking for a way to have a hook that triggers when users push to their repositories, allowing us to perform checks or validations on the pushed content.

I understand that Git hooks are typically repository-specific, but I am curious if Gitea offers any functionality or configuration options that would allow for a centralized approach to managing these hooks. This would greatly streamline our workflow and ensure consistency across all repositories. Something more on the back-end preferably speaking.

Additionally, it would be fantastic if someone could implement a feature for a global hook if its not currently a feature or available. That could be used to check content, etc., when users push to public repositories, without the need to add the hook file to each user’s repository. This would enhance our ability to maintain quality and compliance across all public projects.

Any insights or guidance on this topic would be greatly appreciated. Thank you in advance for your help!

Best regards,
anon32008340