Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rhiokim/github-pr-review-noti-bot
- Owner: rhiokim
- Created: 2017-09-15T16:32:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-25T09:07:57.000Z (over 7 years ago)
- Last Synced: 2024-11-08T19:12:34.430Z (3 months ago)
- Topics: codereview, github, incoming-webhooks, slack, webhook
- Language: JavaScript
- Homepage:
- Size: 6.68 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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