Skip to content

Connections

GitHub

Turn GitHub issues from users into Slack conversations with replies posted as issue comments, plus alerts for releases and security advisories.

On this page

The GitHub preset brings issues opened by your users into Slack as conversations. Your thread replies are posted back as issue comments, and releases and security alerts become Slack alerts.

Setup

About two minutes in your repository or organization settings. In Channlize, Connections → New connection → GitHub. The setup screen shows the connection URL (the Payload URL) above these steps, with the secret fields and buttons at the step that needs them.

  1. Add a webhook in GitHub: Repository → Settings → Webhooks → Add webhook. For all repositories of an organization: Your organizations → the organization → Settings → Webhooks → Add webhook.
  2. Paste the URL and pick JSON: paste the URL as the Payload URL and set Content type to application/json.
  3. Set the secret: generate it in Channlize and paste it into Secret. Leave SSL verification enabled.
  4. Select the events: choose Let me select individual events, untick Pushes, and tick Issues, Issue comments, Pull requests and Releases. Optionally also Dependabot alerts, Repository advisories, Stars and Forks.
  5. Add the webhook: keep Active ticked and click Add webhook. GitHub sends a ping right away, and it shows on the setup screen.

Optional, reply on GitHub from Slack: create a fine-grained token with only the connected repositories and Issues: Read and write, paste it (github_pat_…), then turn on replies under Settings → GitHub. Without it, comments still flow into the conversation; you reply on GitHub.

First event: the screen shows Waiting for the first event… until one arrives. If the webhook already exists, open it in GitHub → Recent Deliveries → Redeliver. Then click Done to keep the connection. Cancel deletes the draft and its URL.

Signature

X-Hub-Signature-256: sha256=<hex>, an HMAC-SHA256 of the body with your secret (the legacy SHA-1 header is ignored). Deliveries are deduplicated on X-GitHub-Delivery.

Default mappings

Event types are <X-GitHub-Event>.<action>:

EventAction
issues.opened, issues.labeledConversation, when the author is outside your team or the issue has a support or bug label
issue_comment.createdAdded to the conversation: as a customer message from the issue author, as an internal note from anyone else
issues.closed, issues.reopened, pull_request.closedNote on the conversation
release.published, Dependabot and repository advisory eventsAlert
star.created, fork, pingLog

The contact is the GitHub user, with their <id>+<login>@users.noreply.github.com address. It is never emailed.

Two-way replies

Turn on replies and add the personal access token. Thread replies are posted as comments on the issue, marked so Channlize doesn't import its own comments again.