All Projects → PSPDFKit-labs → Reviewbot

PSPDFKit-labs / Reviewbot

Licence: mit
Reviewbot is a Slack bot that shows reviewable pull requests.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Reviewbot

Php Slack Bot
Slack bot user written in PHP
Stars: ✭ 161 (+302.5%)
Mutual labels:  bot, slack-bot
Miscord
Facebook Messenger to Discord bridge
Stars: ✭ 225 (+462.5%)
Mutual labels:  bot, integration
Go Sarah
Simple yet customizable bot framework written in Go.
Stars: ✭ 188 (+370%)
Mutual labels:  bot, slack-bot
Botonomous
A PHP Framework For Creating Autonomous Slack Bots
Stars: ✭ 109 (+172.5%)
Mutual labels:  bot, slack-bot
Kodiak
🔮 A bot to automatically update and merge GitHub PRs
Stars: ✭ 644 (+1510%)
Mutual labels:  bot, pull-requests
Norrisbot
a Slack bot that kicks asses (roundhouse-kicks to be accurate...)
Stars: ✭ 134 (+235%)
Mutual labels:  bot, slack-bot
Urban Bot
🤖 The universal chatbot library based on React. Write once, launch Telegram, Facebook, Slack, ... every messenger with chatbots
Stars: ✭ 223 (+457.5%)
Mutual labels:  bot, slack-bot
Jbot
Make Slack and Facebook Bots in Java.
Stars: ✭ 1,148 (+2770%)
Mutual labels:  bot, slack-bot
Slacker
Slack Bot Framework
Stars: ✭ 495 (+1137.5%)
Mutual labels:  bot, slack-bot
Github Bot
GitHub 自动处理 issue、PR、releases 机器人
Stars: ✭ 434 (+985%)
Mutual labels:  bot, pull-requests
Slack Machine
A sexy, simple, yet powerful and extendable Slack bot
Stars: ✭ 91 (+127.5%)
Mutual labels:  bot, slack-bot
Thecsebot
Bot user for the slack team of IIT Roorkee, CSE students batch of 2016-20
Stars: ✭ 9 (-77.5%)
Mutual labels:  bot, slack-bot
Slacky
🐍 The BEST Slack Selfbot on GitHub | No Bot User, Acts Like It's You! ⭐️
Stars: ✭ 80 (+100%)
Mutual labels:  bot, slack-bot
Slick
Slick, a Slack bot in Go
Stars: ✭ 150 (+275%)
Mutual labels:  bot, slack-bot
Ex mustang
✨ A simple, clueless bot
Stars: ✭ 67 (+67.5%)
Mutual labels:  bot, slack-bot
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+430%)
Mutual labels:  bot, slack-bot
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (+27.5%)
Mutual labels:  bot, slack-bot
Hubcommander
A Slack bot for GitHub organization management -- and other things too
Stars: ✭ 1,149 (+2772.5%)
Mutual labels:  bot, slack-bot
Intelligo
🤖 Chatbot Framework for Node.js.
Stars: ✭ 347 (+767.5%)
Mutual labels:  bot, slack-bot
Derek
Reduce maintainer fatigue by automating GitHub
Stars: ✭ 714 (+1685%)
Mutual labels:  bot, pull-requests

Reviewbot

Reviewbot shows you pull requests on GitHub that are ready to be reviewed. How does it know when a pull request is ready? We have a special label in our repositories, aptly named READY TO REVIEW (all caps so it’s easier to spot). When a pull request is ready for review, the author adds this label to their PR to mark it as finished.

Meanwhile, all pull requests without this label are seen as works in progress and shouldn’t be reviewed. Next, an engineer can pick from the READY TO REVIEW pull requests and start reviewing — all code changes at PSPDFKit get reviewed by at least one other person. After the review is done, the pull request author incorporates the feedback and merges the PR.

Read more on the PSPDFKit Blog: https://pspdfkit.com/blog/2018/reviewbot

Made with ❤️ by PSPDFKit

The PSPDFKit SDK is a framework that allows you to view, annotate, sign, and fill PDF forms on iOS, Android, Windows, macOS, and Web. PSPDFKit Instant adds real-time collaboration features to seamlessly share, edit, and annotate PDF documents.

Deployment

We recommend to deploy Reviewbot to Heroku.

Available Environment Variables

  • SLACK_API_TOKEN: Your bot's Slack API token. You can create a new bot integration under /servies/new/bot.
  • GITHUB_ACCESS_TOKEN: Your personal access token for GitHub.
  • ORGANIZATION: Your GitHub organization. Reviewbot will use this organization for repositories that didn't specify an organization, i.e. don't contain a slash.
  • READY_LABELS: Comma-separated list of labels you use to mark pull requests ready for review, e.g. ready, ready for review etc.
  • LABEL_REPOSITORIES: Comma-separated list of repositories that require additional labels. Monorepos that contain both iOS and Android code and use iOS and Android labels for example.

Rake Task

You can use the post_reviewable_pull_requests Rake task and the Heroku Scheduler to post reviewable pull requests in specific channels at specific times. For example:

bundle exec rake post_reviewable_pull_requests[PSPDFKit+Viewer-iOS,ios,iOS]

The above example posts reviewable pull requests of the PSPDFKit and Viewer-iOS repositories if they have the iOS label (and the repository is in the LABEL_REPOSITORIES list) in the #ios Slack channel. Notice that repositories and labels are +-separated.

Development Setup

  1. gem install bundler
  2. bundle install
  3. Create an .env file with the following variables:
SLACK_API_TOKEN=<your-slack-api-token>
GITHUB_ACCESS_TOKEN=<your-github-api-token>
ORGANIZATION=<your-github-organization>
READY_LABELS=<ready,ready-for-review,etc.>
LABEL_REPOSITORIES=<repositories-that-require-additional-labels>
  1. Start the bot with bundle exec foreman start.

License

The MIT License (MIT)

Copyright (c) 2018 PSPDFKit GmbH (pspdfkit.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].