[Feature Request] Organisation wide default hooks, without write shell code #4540

Open
opened 2025-11-02 05:53:50 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @tuxmaster5000 on GitHub (Dec 23, 2019).

Possible to set default hooks on organisation wild repos, without writing shell code.
Like this in bitbucket.
Screenshot_2019-12-23  Bitbucket

Originally created by @tuxmaster5000 on GitHub (Dec 23, 2019). Possible to set default hooks on organisation wild repos, without writing shell code. Like this in bitbucket. ![Screenshot_2019-12-23 Bitbucket](https://user-images.githubusercontent.com/837503/71346879-49e8aa80-2569-11ea-9fd8-03a35fd6f85d.png)
GiteaMirror added the type/proposal label 2025-11-02 05:53:50 -06:00
Author
Owner

@bagasme commented on GitHub (Dec 23, 2019):

@tuxmaster5000 Did you mean pre-receive webhooks as per your screenshot?

@bagasme commented on GitHub (Dec 23, 2019): @tuxmaster5000 Did you mean pre-receive webhooks as per your screenshot?
Author
Owner

@tuxmaster5000 commented on GitHub (Dec 23, 2019):

@bagasme Yes, and some often used pre-defined like this.

@tuxmaster5000 commented on GitHub (Dec 23, 2019): @bagasme Yes, and some often used pre-defined like this.
Author
Owner

@kenji21 commented on GitHub (Dec 1, 2021):

In the same idea, but gitea wide pre-receive hook to prevent users from pushing invalid submodule reference in a git repository:

https://gist.github.com/bagage/bdca3d4b66d43db7a5e3

@kenji21 commented on GitHub (Dec 1, 2021): In the same idea, but gitea wide pre-receive hook to prevent users from pushing invalid submodule reference in a git repository: https://gist.github.com/bagage/bdca3d4b66d43db7a5e3
Author
Owner

@lunny commented on GitHub (Dec 2, 2021):

Or we can have some internal hooks which could be used even if hooks are disabled.

@lunny commented on GitHub (Dec 2, 2021): Or we can have some internal hooks which could be used even if hooks are disabled.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4540