A script to notify individuals in Microsoft Teams about outstanding merge requests assigned to them in GitLab
- Each GitLab user should have their "public email" set to their Teams email
- This is how gitlab-teams-review-reminder is able to find their Teams account
- GITLAB_API_URL="YOUR_GITLAB_URL/api/v4"
- Your GitLab API url
- GITLAB_PRIVATE_TOKEN="YOUR_GITLAB_TOKEN"
- Your GitLab API token
- GITLAB_PROJECTS="PROJECT_1,PROJECT_2"
- Comma separated list of your GitLab projects that you want to be reminded about
- TEAMS_WEBHOOK_URL="YOUR_TEAMS_WEBHOOK_URL"
- Your Microsoft Teams webhook url
- USER_EMAILS="{"username":"email"}"
- Useful if a user is unable to set their "public email" for some reason
python3 review-reminder.py