📥 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
Webhooks
section. - Click on
Add webhook
. - Set
Payload URL
to<APP_URL>
. - Set
Content type
toapplication/x-www-form-urlencoded
. - Which events would you like to trigger this webhook? Select
Let me select individual events.
. - Click on the
Active
checkbox 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
Webhooks
section. - Click on
Add new webhook
. - Set
URL
to<APP_URL>
. - Choose any
Trigger
you want. - Click on the
Enable SSL verification
checkbox 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.