GitHub and Slack Integration

repository·master·Indexed 25 days ago

https://github.com/integrations/slack

A bridge between GitHub and Slack that brings development activity into Slack discussions via notifications and link unfurls for issues, pull requests, comments, repositories, and releases. Includes an experimental GitHub+Slack API for posting messages to Slack for specific repositories.

Tokens
539
Snippets
1
Records
4
Agent score
36%

What's inside integrations-slack

  1. Overview of GitHub and Slack integration

    master

    The GitHub and Slack integration connects software development activity from GitHub into Slack conversations. It is designed to drive discussions about development happening in Slack and connect Slack users to the GitHub ecosystem.

    Key architectural constraints include:

  2. Post messages to Slack via the GitHub+Slack API

    master

    The GitHub+Slack API allows you to post messages to Slack for a specific repository. These messages are delivered based on your existing subscriptions.

    Warning: This API is experimental, subject to change without notice, and is not supported for production use.

    curl -XPOST -H "Authorization: token $token" \
       https://slack.github.com/repos/:owner/:repo \
       -d "$message"
  3. Configure GitHub+Slack API request parameters

    master

    When using the GitHub+Slack API via curl, you must provide the following parameters:

    • $token: A valid GitHub token (Personal Access Token, OAuth token, or GitHub App token) that has write access to the target :owner/:repo.
    • :owner: The GitHub repository owner.
    • :repo: The GitHub repository name.
    • $message: One or more valid Slack attachments.
  4. Current feature support for Notifications and Unfurls

    master

    The integration provides notifications (activity alerts) and unfurls (rich link previews) for various GitHub entities.

    FeatureNotificationsUnfurls
    Issues✅ Done✅ Done
    Pull Requests✅ Done✅ Done
    Comments✅ Done✅ Done
    Repository✅ Done
    Blob🚫 Not Applicable✅ Done
    User/Organization🚫 Not Applicable✅ Done
    Push🌙 In Progress🚫 Not Applicable
    Public✅ Done🚫 Not Applicable
    Milestones🌑 Not Started🌑 Not Started
    Projects🌑 Not Started🌑 Not Started
    Releases✅ Done🌑 Not Started

    Key: ✅ Done, 🌙 In Progress, 🌑 Not Started, 🚫 Not Applicable