System webhook trigger on Status Check event #8596

Open
opened 2025-11-02 08:12:01 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sjdrc on GitHub (Feb 22, 2022).

Feature Description

At my organisation, we use Gitea with Drone for CI and Slack for messaging. We have webhooks set up to post to slack when PRs are opened, merged etc.

As part of our CI pipeline, we have a step that will trigger to also call a slack webhook to notify on the status of the builds. However, this process is not super streamlined, we need to commit this slack code to every repo we want notifications for, and slows down our CI (the steps need to wait to be scheduled, so sometimes notifications don't fire for ages). Drone also has system webhooks but this does not seem to be compatible with posting to slack directly.

It would be great if Gitea were able to fire outgoing webhooks based on the status check changing, i.e. when a build starts, succeeds, or fails. This would simplify our (and probably many others) workflows.

Please see attached screenshots for the status check I am talking about, and a suggested additional button to toggle on the webhook.

Screenshots

PR build status check

Pull Request Status Check Webhook

Originally created by @sjdrc on GitHub (Feb 22, 2022). ### Feature Description At my organisation, we use Gitea with Drone for CI and Slack for messaging. We have webhooks set up to post to slack when PRs are opened, merged etc. As part of our CI pipeline, we have a step that will trigger to also call a slack webhook to notify on the status of the builds. However, this process is not super streamlined, we need to commit this slack code to every repo we want notifications for, and slows down our CI (the steps need to wait to be scheduled, so sometimes notifications don't fire for ages). Drone also has system webhooks but this does not seem to be compatible with posting to slack directly. It would be great if Gitea were able to fire outgoing webhooks based on the status check changing, i.e. when a build starts, succeeds, or fails. This would simplify our (and probably many others) workflows. Please see attached screenshots for the status check I am talking about, and a suggested additional button to toggle on the webhook. ### Screenshots ![PR build status check](https://user-images.githubusercontent.com/6028151/155043348-0ab16368-a0c3-41a2-b369-bca26410e253.png) ![Pull Request Status Check Webhook](https://user-images.githubusercontent.com/6028151/155043779-b5af1e7c-21eb-4983-9815-ca91436107de.png)
GiteaMirror added the topic/webhookstype/proposal labels 2025-11-02 08:12:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8596