[about this project]
github webhook events(PullRequest, PullRequestReview, PullRequestReviewComment) -> this -> slack send
$ now deploy
-e GITHUB_SECRET=1234 \
-e SLACK_WEBHOOK_URL=https://hooks.slack.com/services/T05A4C0D1/C486BBCEK/XfJ3D \
-e SLACK_BOT_NAME=GithubBot
-e SLACK_BOT_ICON=:slack:
-e SLACK_CHANNEL=#general
or
create config.json
{
"botName": "Bot",
"iconEmoji": ":slack:",
"defaultChannel": "#channel_name",
"githubSecret": "1234",
"users": {
"nodejs-kr": "rhiokim"
},
"repositories": {
"repository_name": "#channel_name"
},
"trigger": {
"pull_request": {},
"pull_request_review": {},
"pull_request_review_comment": {}
},
"slackWebhookUrl": "YOUR SLACK WEBHOOK URL"
}
MIT