This project retrieves GitLab merge request details and sends them to a Telegram chat. You can run the project using command-line flags to provide necessary configuration.
The following command-line flags are required to run the project:
-t
or--telegram_token
: Your Telegram bot token.-id
or--chat_id
: The chat ID where the message will be sent.-gt
or--gitlab_token
: Your GitLab personal access token.-url
or--gitlab_base_url
: The base URL of your GitLab instance-pid
or--project_id
: The ID of your GitLab project.-mid
or--merge_request_iid
: The IID of the merge request.
You can run the program using the following command:
go run main.go -t="your_telegram_token" -id="your_chat_id" -gt="your_gitlab_token" -url="https://gitlab.com" -pid="79" -mid=123
This project is licensed under the MIT License. See the LICENSE file for details.