https://github.com/siketyan/hooklab
Transfers your notifications on GitLab to Slack.
https://github.com/siketyan/hooklab
azure-functions csharp gitlab-webhook notifications slack-app
Last synced: 8 months ago
JSON representation
Transfers your notifications on GitLab to Slack.
- Host: GitHub
- URL: https://github.com/siketyan/hooklab
- Owner: siketyan
- License: other
- Created: 2019-08-20T06:07:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-22T02:06:00.000Z (over 6 years ago)
- Last Synced: 2025-07-21T22:57:34.950Z (8 months ago)
- Topics: azure-functions, csharp, gitlab-webhook, notifications, slack-app
- Language: C#
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# HookLab
[](https://dev.azure.com/Naoki-Ikeguchi/HookLab/_build/latest?definitionId=1&branchName=master)
[](https://github.com/MakeNowJust/sushi-ware)
Transfers your notifications on GitLab to Slack.
## Features
- Notify when someone commented to your merge request.
## Installation
1. Create a Slack app.
2. Add the Bot User feature to the app.
3. Deploy this project to Azure Functions.
4. Configure environment variables.
5. Add an integration to the function with the key on GitLab.
6. Done!
## Configuration
```env
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.