It receives the post requests from GitLab and replaces some string and posts to Slack :)
in Google Drive so it runs for free :)
Search for Google Apps Script
for further studies.
use clasp
:)
$ npm i @google/clasp -g
$ clasp login
$ clasp clone 1n8****************************VZ1
$ clasp pull 1n8****************************VZ1
$ clasp push 1n8****************************VZ1
see .env.js
and create your team members' table and define Slack Incoming Webhooks URI.
publish your GAS app after deploy and get web app URL and go to your repository settings:
Settings
->Integrations
->Slack Notifications
- choose
Use custrom settings
fromDefault Settings are inherited from the instance level.
1 - paste your web app URI to
Webhook
and you should be getting direct mention from GitLab! Conrats!! Have a nice day 🍺
Footnotes
-
You won't require this if you're not using the GitLab CE:beer: ↩