gitlab-hooks-listener
simple golang application for receiving gitlab hooks and parse them and send them to telegram channel
Quick start
- copy and create new config file
./config
folder from./config/config_example.yml
and name itconfig.yml
- run
docker-compose up -d
- create a project in config file
- set gitlab webhook on route
/projects/project-name/events
Config
file config/config.yml
http-server.port
http server portprojects.*
register your projects hereproject.*.gitlab-secret
gitlab secret tokenproject.*.telegram-token
telegram bot api tokenproject.*.telegram-chat
your telegram chat idproject.*.events
enable or disable events that you want to receive here (push,merge-request,...)titles.*
here you can config what title each event must have
Gitlab available events
- comment
- deployment
- feature-flag
- group
- issue
- job
- merge-request
- pipeline
✅ - push
✅ - release
- sub-group
- tag
- wiki-page
check ./docs/examples
folder for telegram messages examples sent by application