Transfers your notifications on GitLab to Slack.
- Notify when someone commented to your merge request.
- Create a Slack app.
- Add the Bot User feature to the app.
- Deploy this project to Azure Functions.
- Configure environment variables.
- Add an integration to the function with the key on GitLab.
- Done!
GITLAB_SLACK_USER_DICTIONARY="KKKKKK=UXXXXXXXX;LLLLLL=UYYYYYYYY;"
SLACK_BOT_TOKEN="xoxb-NNNNNNNNNNN-MMMMMMMMMMMM-ZZZZZZZZZZZZZZZZZZZZZZZZ"GITLAB_SLACK_USER_DICTIONARY: The dictionary to convert from GitLab users to Slack users.KKKKKK,LLLLLL: The identifier of the GitLab user.UXXXXXXXX,UYYYYYYYY: The identifier of the Slack user.
SLACK_BOT_TOKEN: The OAuth token of the Bot user.