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 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. 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).
All event pushes are POST requests. The methods currently supported are: The currently supported webhook types are:
- Forgejo (can also be a GET request) ### Raw event as JSON or FORM payload:
- Gitea (can also be a GET request)
- Gogs - 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 - Slack
- Discord - Discord
- Dingtalk - Dingtalk
- Telegram - Telegram
- Microsoft Teams - Microsoft Teams
- Feishu - Feishu / Lark Suite
- Wechatwork - WeCom (Wechat Work)
- Packagist
### Event information ### Event information