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

Other events are accepted and ignored.

What you get

🟢 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 ]

The button opens the push, the merge request, the issue 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.dev over HTTPS.