<commit_before># lita-github-web-hooks

**lita-github-web-hooks** announces various activity on GitHub using [Web Hooks](https://developer.github.com/webhooks/).

## Installation

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

``` ruby
gem "lita-github-web-hooks"
```

## Configuration

### Required attributes

* `room_ids` (Array&lt;String&gt;) - An array of string room IDs. Events received from GitHub will be announced in every room defined by this attribute.

### Example

Here is an example of what a configuration for Lita running on HipChat might look like.

``` ruby
Lita.configure do |config|
  config.handlers.github_web_hooks.room_ids = [
    "<EMAIL>_<EMAIL>"<commit_msg>Clarify what the plugin does.<commit_after># lita-github-web-hooks

**lita-github-web-hooks** integrates GitHub [Web Hooks](https://developer.github.com/webhooks/) with [Lita](http://www.lita.io/). It allows Lita to announce various GitHub activity in the chat.

## Installation

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

``` ruby
gem "lita-github-web-hooks"
```

## Configuration

### Required attributes

* `room_ids` (Array&lt;String&gt;) - An array of string room IDs. Events received from GitHub will be announced in every room defined by this attribute.

### Example

Here is an example of what a configuration for Lita running on HipChat might look like.

``` ruby
Lita.configure do |config|
  config.handlers.github_web_hooks.room_ids = [
    "<EMAIL>"
{'fraction_non_alphanumeric': 0.11788617886178862, 'fraction_numerical': 0.0, 'mean_word_length': 4.531835205992509, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6729147', 'n_tokens_mistral': 474, 'n_tokens_neox': 462, 'n_words': 152}