GithubHelp home page GithubHelp logo

zenedge / lita-github-issues Goto Github PK

View Code? Open in Web Editor NEW

This project forked from everlane/lita-github-pinger

0.0 6.0 0.0 73 KB

A Lita handler for sending you messages about GitHub events.

Ruby 100.00%

lita-github-issues's Introduction

Lita Github Issues

This is a Lita handler for assigning labels and users to github pull-requests, based on statuses, as well as notifying in slack #channel.

Installation

currently still not released to gemfiles

Add lita-github-issues to your Lita instance's Gemfile:

gem "lita-github-pinger", github: "zenedge/lita-github-issues", branch: "master"

Configuration

Add Github Webhook for http://yourlitaapp.herokuapp.com/ghping so bot would be notified, when and which PRs to check.

config.handlers.github_pinger.default_channel = "bots" # Channel where message about Failed, Passed PR will be posted
config.handlers.github_pinger.github_token = "" # Oauth token for github PR statuses
config.handlers.github_pinger.required_passes = %w(tests integration) # contexts of statuses that need to pass/fail for notification
config.handlers.github_pinger.fail_label = "needs-fixing" # which label to assign when PR is marked failed
config.handlers.github_pinger.review_label = "needs-review" # which label to assign when PR is marked success
config.handlers.github_pinger.assign_reviewer = "Terry" # github user name of user to assign which will do the reviewing
config.handlers.github_pinger.notify_once = true # Notifies once or for each status change
config.handlers.github_pinger.engineers = { # Information about engineers, to link between slack and github accounts.
  "James" => {
    usernames: {
      slack: "james",
      github: "bond"
    }
  }
}

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.