Skip to content

amaabca/lita-github_pr_list

Repository files navigation

lita-github_pr_list

lita-github_pr_list is a handler for Lita that connects up with GitHub and lists an organization's pull requests

Installation

Add this line to your application's Gemfile:

gem 'lita-github_pr_list'

And then execute:

$ bundle

Or install it yourself as:

$ gem install lita-github_pr_list

Configuration

Lita.configure do |config|
...
  config.handlers.github_pr_list.github_organization = ENV['GITHUB_ORG']
  config.handlers.github_pr_list.github_access_token = ENV['GITHUB_TOKEN']
...
end

Usage

Lita: pr list

All of the open pull requests for an organization will get listed out from lita. If it has one of the emoji statuses below it will display it, otherwise it will display 🆕.

Emoji status

New - 🆕 - This is the default state, shown (new) if none of the other states are set. Pass - 🐘 🐘 🐘 = (elephant)(elephant)(elephant) Pass DESIGN - 🎨 🎨 🎨 = (art)(art)(art) In Review - 📖 = (book) Fail - 💩 OR 💩 = (poop) Fixed - 👋 = (wave)

Placing an 🎨 or 🐘 in the initial pull request will designate the request to be for design or developers respectively Placing neither 🎨 nor 🐘, or placing both of them will assume both design and developer review is requested

Contributing

  1. Fork it ( https://github.com/amaabca/lita-github_pr_list/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

List open pull requests for an organization.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages