GitHub Webhooks
The HULKs use HULKs/GitHubNotificationsBot for GitHub notifications in their messengers. Since we open-sourced our main repository, we do not have permissions to register webhooks in forks of the repository. This page serves a guide on how to setup and enable GitHub notifications from your repository.
Register New Webhook
- In your forked repository, go to Settings, Webhooks, Add webhook
- Payload URL is
https://github-notifications.hulks.dev/
- Content type is
application/json
- Ask one of our Dev-Leads for the secret
- Leave SSL verification on
- Select "Let me select individual events" and enable the following:
- Issue comments
- Issues
- Pull request review comments
- Pull request reviews
- Pull requests
- Pushes
- Activate it and add it
- Profit
Adminstration of the Bot
The bot is running on the HULKs Nextcloud VM (RZ) machine.
The address can be found the IP Address Range wiki page of the HULKsnition repository.
A VPN connection is required to connect via SSH.
The Docker Compose directory is located at /mnt/ext/docker-config/web/
and the service is named github-notifications
.