New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hubot-github-slack-pr-threads

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-github-slack-pr-threads

Hubot script that keeps PRs (and updates like comments) in one Slack thread

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

hubot-github-slack-pr-threads

A Hubot script that keeps PRs (and updates like comments) in one Slack thread.

Screenshot

Installation

From your hubot folder: npm install --save hubot-github-slack-pr-threads

Then, in your external-scripts.json file, add: "hubot-github-slack-pr-threads" to the list.

Create a new webhook for your myuser/myrepo repository at: https://github.com/myuser/myrepo/settings/hooks/new Set the webhook url to: <HUBOT_URL>:<PORT>/hubot/gh-pull-requests?room=myslackroom

You can replace myslackroom with any valid slack room that your hubot is in

For example, if your hubot lives at myhubot.herokuapp.com, then you will set the webhook URL to: http://myhubot.herokuapp.com/hubot/github-repo-listener?room=development

Make sure to use "application/json" as type.

SECURITY WARNING: This script does not currently validate the Github Secret. PRs are welcome!

Local Testing

You can use ./scripts/github_webhook_simulator.js event_name to emit different events. pull_request, pull_request_closed, pull_request_merged, pull_request_reopened and pull_request_review_comment are the most useful ones.

Author

Marek Ventur marekventur

License

MIT License; see LICENSE for further details.

Keywords

FAQs

Package last updated on 18 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc