Global Webhooks Configuration #4312

Closed
opened 2025-11-02 05:45:37 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @invertium on GitHub (Nov 14, 2019).

  • Gitea version (or commit ref): 1.9.3 built with GNU Make 4.1, go1.12.9 : bindata, sqlite, sqlite_unlock_notify
  • Git version:
  • Operating system: Ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When I add a Webhook at admin/hooks I get no reaction from existing repostories, there should be a button to apply that. Theres also no "test delivery" button available as mentioned in the docs at https://docs.gitea.io/en-us/webhooks/

When I try to add a webhook to the org, slack works but teams results in a 404 like mentioned here: https://github.com/go-gitea/gitea/issues/8202

Screenshots

Originally created by @invertium on GitHub (Nov 14, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.9.3 built with GNU Make 4.1, go1.12.9 : bindata, sqlite, sqlite_unlock_notify - Git version: - Operating system: Ubuntu 18.04 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description When I add a Webhook at admin/hooks I get no reaction from existing repostories, there should be a button to apply that. Theres also no "test delivery" button available as mentioned in the docs at https://docs.gitea.io/en-us/webhooks/ When I try to add a webhook to the org, slack works but teams results in a 404 like mentioned here: https://github.com/go-gitea/gitea/issues/8202 ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/needs-feedback label 2025-11-02 05:45:37 -06:00
Author
Owner

@lunny commented on GitHub (Nov 14, 2019):

Admin panel hooks is default hooks, they should be copied when you create a new repository.

You can create an orgnization/repository hooks. You can find "test delivery" button there.

@lunny commented on GitHub (Nov 14, 2019): Admin panel hooks is default hooks, they should be copied when you create a new repository. You can create an orgnization/repository hooks. You can find "test delivery" button there.
Author
Owner

@invertium commented on GitHub (Nov 15, 2019):

A "copy to exisiting repositories" button would be useful there :)

Yup, as mentioned the organization webhook doesnt work, but thats in the other issue.

@invertium commented on GitHub (Nov 15, 2019): A "copy to exisiting repositories" button would be useful there :) Yup, as mentioned the organization webhook doesnt work, but thats in the other issue.
Author
Owner

@chanhlt commented on GitHub (Dec 16, 2019):

hi @lunny , I have upgraded Gitea to 1.10.1 this morning.
But it seems that there is an issue when I create new repository, it does not have any webhook at all even I already added some webhooks to its organization before hand.

Screen Shot 2019-12-16 at 18 22 04 Screen Shot 2019-12-16 at 18 23 42
@chanhlt commented on GitHub (Dec 16, 2019): hi @lunny , I have upgraded Gitea to 1.10.1 this morning. But it seems that there is an issue when I create new repository, it does not have any webhook at all even I already added some webhooks to its organization before hand. <img width="1303" alt="Screen Shot 2019-12-16 at 18 22 04" src="https://user-images.githubusercontent.com/41569719/70894773-06ee7a80-2031-11ea-83d5-7a82b8c00313.png"> <img width="1231" alt="Screen Shot 2019-12-16 at 18 23 42" src="https://user-images.githubusercontent.com/41569719/70894897-4026ea80-2031-11ea-98d2-f00bf0813617.png">
Author
Owner

@lunny commented on GitHub (Dec 16, 2019):

@chanhlt The webhooks you added on organization setting will not be copied to repositories of this organization. But events of this repository will be triggered.

@lunny commented on GitHub (Dec 16, 2019): @chanhlt The webhooks you added on organization setting will not be copied to repositories of this organization. But events of this repository will be triggered.
Author
Owner

@chanhlt commented on GitHub (Dec 17, 2019):

@lunny Thank you. I will check it out.

@chanhlt commented on GitHub (Dec 17, 2019): @lunny Thank you. I will check it out.
Author
Owner

@stale[bot] commented on GitHub (Feb 15, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 15, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@zeripath commented on GitHub (Feb 15, 2021):

I'm closing this issue as there has been no activity since December 2019.

@zeripath commented on GitHub (Feb 15, 2021): I'm closing this issue as there has been no activity since December 2019.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4312