LoginSignup
9

More than 3 years have passed since last update.

posted at

Organization

GitHub の Slack 連携でコメントやレビューも Slack に通知する

問題

GitHub と Slack を連携するために、Slack に GitHub App をインストールして、/github subscribe owner/repo を行ったがコメントやプルリクに対してのレビューが通知されない。

解決策

Features enabled by default

  • issues
  • pulls
  • statuses
  • commits
  • deployments
  • public

公式ドキュメントに記載があるのですが、デフォルトだと上記のイベントしか通知してくれません。

そこで、

Features not enabled by default

  • reviews
  • comments
  • branches
  • commits:all

こちらも有効にしましょう。

[feature] に上記の機能名を入れることで有効にできます。

/github subscribe owner/repo [feature]

以下のように一括指定も可能です。

/github subscribe owner/repo comments,reviews,branches,commits:all

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
What you can do with signing up
9