Skip to content

A Slack App that lists the top N most recent PRs and gives you the ability to ask for a code review faster.

Notifications You must be signed in to change notification settings

JLiu1272/pr-slack-bot-go

Repository files navigation

Pull Request Slack Bot

A Slack App that lists the top N most recent PRs and gives you the ability to ask for a code review faster. The bot is designed to make the code review process more efficient and seamless

pr_bot_demo_public.mov

Slash commands

  • /pr help - list instructions on how to use this slash app

pr help command

  • /pr list <repo> - list top 5 most recent PRs from the slack username. Assuming that the slack username matches github username;

If slack and github username does not match, it will show this message

pr list repo

  • /pr list <repo> <username> - list top 5 most recent PRs from the provided github username;

pr help command

How To Build/Run Docker Image

  1. Run docker build -t docker-slack-bot . at the root. The docker-slack-bot is the name of the image, which is customizable.
  2. Run docker image ls to check that the image built successfully.
  3. Run the docker image with this command - docker run -d -p 8080:8080 --name slack-bot docker-slack-bot. Again, docker-slack-bot is customizable. Similarly, the name of the image is also customizable.

To understand more about what each flag does and its command, read this

ROADMAP

  • Fix slash command listing such that it only shows top 5 most recent open PRs
  • Fix Verification

About

A Slack App that lists the top N most recent PRs and gives you the ability to ask for a code review faster.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published