Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanfischer/gitlab-teams-review-reminder
A script to notify individuals in teams about outstanding merge requests assigned to them in gitlab
https://github.com/alanfischer/gitlab-teams-review-reminder
gitlab merge-request microsoft-teams mr teams
Last synced: about 11 hours ago
JSON representation
A script to notify individuals in teams about outstanding merge requests assigned to them in gitlab
- Host: GitHub
- URL: https://github.com/alanfischer/gitlab-teams-review-reminder
- Owner: alanfischer
- Created: 2023-01-06T00:39:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T19:20:07.000Z (about 1 year ago)
- Last Synced: 2024-11-11T07:45:52.023Z (about 2 months ago)
- Topics: gitlab, merge-request, microsoft-teams, mr, teams
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitlab-teams-review-reminder
A script to notify individuals in Microsoft Teams about outstanding merge requests assigned to them in GitLab## Prerequisites:
- 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## Required Environment Variables:
- 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
## Optional Environment Variables:
- USER_EMAILS="{\"username\":\"email\"}"
- Useful if a user is unable to set their "public email" for some reason## Executing
python3 review-reminder.py