Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhiokim/github-pr-review-noti-bot

Notification incoming-webhook for sending PR Review Request into your slack channel
https://github.com/rhiokim/github-pr-review-noti-bot

codereview github incoming-webhooks slack webhook

Last synced: about 1 month ago
JSON representation

Notification incoming-webhook for sending PR Review Request into your slack channel

Awesome Lists containing this project

README

        

# Github Pull Request Notification Bot

[about this project]

## How it works

github webhook events(PullRequest, PullRequestReview, PullRequestReviewComment) -> this -> slack send

## How to use this

```bash
$ 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`

```js
{
"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"
}
```

## License
MIT