Giter Club home page Giter Club logo

pr-slack-bot's Introduction

Pull Request Slack Bot

TODO
  • An actual readme
  • Check for git conflict artifacts on changed files
  • Check for .only on test files
  • Rewrite eeeeeverything, the current code base is too coupled.

Features

Slash commands

  • /pr help - list all emoji meanings and commands;
  • /pr list - list all open prs on the channel;
  • /pr list mine - list all of your PRs on the channel;
  • /pr list @user - list all PRs on the channel from a specific user;
  • /pr list @userGroup - list all PRs on the channel from a specific user group;

Mentions

  • @Paul Robotson roulette|random - on a PR Thread, mention a random person from the channel;
  • @Paul Robotson roulette|random group-name - on a PR Thread, mention a random person from a specific slack group. No need to prepend the @.

Utilities

  • add a #trivial to your PR title or body to prevent checking for a CHANGELOG update.

Emojis

  • :pr-small: - PR of small size (<=80 changes);
  • :pr-medium: - PR of small size (<=250 changes);
  • :pr-large: - PR of small size (<=800 changes);
  • :pr-xlarge: - PR of small size (>801 changes);
  • :eyes: - Someone is reviewing;
  • :sonic_waiting: - Awaiting reviews;
  • :speech_balloon: - Someone has commented;
  • :changes: - Some changes were requested;
  • :warning: - The head branch is dirty and may need a rebase with the base branch;
  • :ready-to-merge: - Ready to be merged without approvals;
  • :white_check_mark: - Ready to be merged AND approved;
  • :merged: - PR was merged;
  • :closedpr: - PR was closed;
  • :shrug: - Some unknown action was taken. Please report it :robot_face:.

The code for each emoji interaction can be changed in the src/consts.js file.

Developing

  • npm run dev - Listen only to messages from the test channels defined on consts.js
  • npm run start - Start the bot on production mode

pr-slack-bot's People

Contributors

kaisermann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.