Webhook doesn't send on repository delete event #4406

Closed
opened 2025-11-02 05:49:32 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @matrozov on GitHub (Nov 27, 2019).

  • Gitea version (or commit ref): 1.11.0+dev-331-g055f6d229
  • Git version: not needed
  • Operating system: Docker container from gitea/gitea
  • 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

No notifications are sent via webhook upon the deletion of the repository. The notification is not a joke either when specifying a webhook in the repository settings, or when specifying a global webhook.

Originally created by @matrozov on GitHub (Nov 27, 2019). - Gitea version (or commit ref): 1.11.0+dev-331-g055f6d229 - Git version: not needed - Operating system: Docker container from gitea/gitea - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description No notifications are sent via webhook upon the deletion of the repository. The notification is not a joke either when specifying a webhook in the repository settings, or when specifying a global webhook.
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 05:49:32 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 26, 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 (Jan 26, 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

@lunny commented on GitHub (Jan 27, 2020):

Currently repository webhooks will not be sent but I think Orgnization webhooks should be sent.

@lunny commented on GitHub (Jan 27, 2020): Currently repository webhooks will not be sent but I think Orgnization webhooks should be sent.
Author
Owner

@matrozov commented on GitHub (Jan 27, 2020):

Currently repository webhooks will not be sent but I think Orgnization webhooks should be sent.
In the configuration of the global webhook it is written like this: creating and deleting a repository. That's why I started this bug, because when I deleted the repository I did not see the global webhook working.

@matrozov commented on GitHub (Jan 27, 2020): > Currently repository webhooks will not be sent but I think Orgnization webhooks should be sent. In the configuration of the global webhook it is written like this: creating and deleting a repository. That's why I started this bug, because when I deleted the repository I did not see the global webhook working.
Author
Owner

@lunny commented on GitHub (Feb 1, 2020):

@matrozov That's not global webhook. It's a default webhook.

@lunny commented on GitHub (Feb 1, 2020): @matrozov That's not global webhook. It's a default webhook.
Author
Owner

@jamesorlakin commented on GitHub (Oct 4, 2020):

This has been fixed in master (due to become 1.13), and I've opened a backport to fix this for 1.12.

@jamesorlakin commented on GitHub (Oct 4, 2020): This has been fixed in master (due to become 1.13), and I've opened a backport to fix this for 1.12.
Author
Owner

@zeripath commented on GitHub (Oct 4, 2020):

Fixed by #13008

@zeripath commented on GitHub (Oct 4, 2020): Fixed by #13008
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4406