> For the complete documentation index, see [llms.txt](https://teachersmanual.firstdraft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teachersmanual.firstdraft.com/integrating-github-with-slack.md).

# Integrating GitHub with Slack

## Repo channel

* Create a channel named after the repository, e.g. `#inyourface`
* In that channel, subscribe to it:

```
/github subscribe raghubetina/inyourface
```

* Unsubscribe from default events that you don't want to hear about:

```
/github unsubscribe raghubetina/inyourface pulls
/github unsubscribe raghubetina/inyourface deployments
```

* Subscribe to non-default events that you do want to hear about:

```
/github subscribe raghubetina/inyourface reviews
/github subscribe raghubetina/inyourface comments
```

The most important thing is to be subscribed to `issues`, since we configure Rollbar to create GitHub Issues rather than email us.

You can see all of the available events in [the official docs](https://github.com/integrations/slack#configuration).

## Group code review channel

If this repository is something that you will want code review on,

* In the `#review-requests` channel, subscribe to it:

```
/github subscribe raghubetina/inyourface
```

Subscribe to all code-review related events:

```
/github subscribe raghubetina/inyourface reviews
/github subscribe raghubetina/inyourface comments
```

Unsubscribe from all non-code-review related events:

```
/github unsubscribe raghubetina/inyourface issues
/github unsubscribe raghubetina/inyourface pulls
/github unsubscribe raghubetina/inyourface statuses
/github unsubscribe raghubetina/inyourface commits
/github unsubscribe raghubetina/inyourface deployments
/github unsubscribe raghubetina/inyourface public
/github unsubscribe raghubetina/inyourface releases
```

To keep from being double-notified, unsubscribe from `reviews` and `comments` in the original channel, `#inyourface`.
