0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

webhooks: add SourceHut Builds and matrix, organize by type

This commit is contained in:
oliverpool 2024-04-10 16:44:28 +02:00
parent c134c1bb09
commit cc1a240739

View file

@ -5,20 +5,30 @@ origin_url: 'https://github.com/go-gitea/gitea/blob/d3982bcd814bac93e3cbce1c7eb7
---
Forgejo supports webhooks for repository events. This can be configured in the settings
page `/:username/:reponame/settings/hooks` by a repository admin. Webhooks can also be configured on a per-organization and whole system basis.
All event pushes are POST requests. The methods currently supported are:
page `/:username/:reponame/settings/hooks` by a repository admin. Webhooks can also be configured on a per-organization and whole system basis (default webhooks on repository creation or instance-wide webhooks).
The currently supported webhook types are:
- Forgejo (can also be a GET request)
- Gitea (can also be a GET request)
- Gogs
### Raw event as JSON or FORM payload:
- Forgejo (GET or POST)
- Gitea (GET or POST)
- Gogs (POST)
### Dedicated integration:
- Packagist: ask packagist to refresh the given package
- SourceHut Builds: submit build manifests (only on push)
### Generic notification messages in chosen channel/chat:
- Matrix
- Slack
- Discord
- Dingtalk
- Telegram
- Microsoft Teams
- Feishu
- Wechatwork
- Packagist
- Feishu / Lark Suite
- WeCom (Wechat Work)
### Event information