Gitlabot
- A simple bot for gitlab updates
About The Project
- Gitlabot is a bot which notify users when a new update for gitlab is available.
Gitlab bot commands
command | description |
---|---|
/start |
Display welcome message |
/help |
Display a list of available commands |
/notify <type|mode> <param> [args] Parameters: - auto - off - daily - weekly - monthly Arguments: - weekdays - monthday - daytime |
Set the notification rules |
/last [nbr] |
Display the latest [nbr] blog info (default is 1), regardless of the type |
/release [nbr] |
Display the latest [nbr] release info (default is 1) |
/settings |
Display the current settings values |
Getting started
Installation
-
Create new bot with BotFather on telegram and copy the bot token
-
Clone the repository
git clone git@github.com:SaphireVert/gitlabot.git && cd gitlabot
- Install npm packages
npm install
-
Rename sample_secrets.json in secrets.json and replace the bot token value by your own bot token.
-
Start the bot
make up