GitLab
Send GitLab project events to Telegram.
Add the webhook
In your project open Settings โ Webhooks and fill the form:
| Field | Value |
|---|---|
| URL | https://thook.altr.dev/hooks/gitlab/{unique_path} |
| Secret token | The secret key from the bot |
| Trigger | Tick the events below |
Use the Test button next to the webhook to send a sample event.
Supported events
- Push events
- Tag push events
- Issues events and confidential issues events
- Merge request events
- Wiki page events
- Pipeline events
- Job events
- Comments (on commits, issues, merge requests and snippets)
- Releases events
- Deployment events
You choose the events: Thook shows the ones the webhook sends.
Other events are accepted and ignored.
What you get
The same shape as the other services. The meaning of the icons is in the quick start.
๐ข Pipeline passed ยท GitLab
๐ฆ group/thook ยท main
โ๏ธ Pipeline #55 ยท ๐ 1m 35s
๐ค alice
View pipeline
๐ฃ Merge request merged ยท GitLab
๐ฆ group/thook
๐ฐ !12 Fix start
๐ฟ fix/start โ main
๐ค alice
Open MR
๐ฌ New comment on merge request ยท GitLab
๐ฆ group/thook
๐ฐ !12 Fix start
โ๏ธ Looks good to me
๐ค alice
View comment
๐ด Deployment failed ยท GitLab
๐ฆ group/thook
๐ production ยท abc1234
๐ค alice
View deployment
The last line is a link that opens the push, the merge request, the issue, the comment, the release or the pipeline on GitLab.
Troubleshooting
401: the Secret token does not match the bot secret.- Self-hosted GitLab: the instance must be able to reach
thook.altr.devover HTTPS.