LoginSignup
5
2

More than 5 years have passed since last update.

GitHub EnterpriseとSlackを連携させる

Slackアプリインストール

通常のGitHubのSlackアプリは、Enterprise版には対応していないとのこと。
https://slack.com/apps/A8GBNUWU8-github

Using an older version of GitHub and Slack? Installing the new integration will allow you to migrate subscriptions from legacy versions. GitHub Enterprise and Slack Enterprise Grid are not yet supported.

GitHub Notifications (Legacy)をSlackにインストールする
https://slack.com/apps/A0F7YS2SX-github
QS_20190401-165007.png

Slackと連携させる

1.SlackのAppsの管理サイトにアクセスする

https://XXXXXX.slack.com/apps/manage

※XXXXXXは任意のワークスペース名

  1. GitHub Notifications (Legacy)を選択
    QS_20190403-094741.png

  2. 設定を編集を選択
    QS_20190402-164419.png

  3. Webhook URL をコピーする
    QS_20190402-164010.png

  4. GitHub Enterpriseにアクセスし、設定したいリポジトリの「Settings >> Hooks >> Addwebhook」を選択
    QS_20190402-164605.png

  5. Payload URL に手順4.でコピーしたWebhook URLを貼り付け。

  6. Content typeをapplication/jsonを選択し、Add webhookを押下する
    QS_20190403-093903.png

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2