Skip to content

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

Notifications You must be signed in to change notification settings

rhiokim/github-pr-review-noti-bot

Repository files navigation

Github Pull Request Notification Bot

[about this project]

How it works

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

How to use this

$ 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"
}

License

MIT

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published