📥 Add repository webhook
You will need to add the Webhook for your GitHub and GitLab repository to receive notifications.
For GitHub repository
Add webhook on your GitHub repository to receive notifications, please follow the steps below.
- Go to your GitHub repository settings page.
- Go to the
Webhookssection. - Click on
Add webhook. - Set
Payload URLto<APP_URL>. - Set
Content typetoapplication/x-www-form-urlencoded. - Which events would you like to trigger this webhook? Select
Let me select individual events.. - Click on the
Activecheckbox and Add webhook button. - Done. You will receive a notification when your repository has a new event.
Here is the first notification you will receive:
For GitLab repository
Add webhook on your GitLab repository to receive notifications, please follow the steps below.
- Go to your repository settings.
- Go to the
Webhookssection. - Click on
Add new webhook. - Set
URLto<APP_URL>. - Choose any
Triggeryou want. - Click on the
Enable SSL verificationcheckbox and Add webhook button.
Note
You can set up this webhook for different repositories. Please similarly set up the webhook for each repository.
Then every time one of those repositories appears an event, this telegram bot will immediately send you a notification.