Watch Gitlab merge requests and notify the members who haven't seen, or when it's ready to merge.
-
Clone the repository.
-
Install Composer dependencies.
composer install -
Set up environment variables.
cp .env.example .envand edit it.
-
Run the application.
./gitlab-watcher
| Environment variable | Description |
|---|---|
| PRIVATE_TOKEN | Gitlab personal private token. |
| SLACK_CHANNEL | Where to broadcast. Slack webhook url. |
| GITLAB_BASE_URI | Gitlab base url. For example, https://gitlab.your-company.com. (No trailing slash) |
| REDIS_HOST | Redis host. |
| REDIS_PORT | Redis port. Must be set even if it's still 6379. |
| REDIS_PREFIX | Redis key prefix. |
| WATCHING_PROJECTS | IID of watching projects (comma seperated). For example: 37,46,60. |
| MEMBERS | Your team members (comma-seperated). For example: ben,alan,judy |
