0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

githubとslackの連携

0
Posted at

状態としてはすでにgithubのアプリはダウンロードされている状態。

・後は自分のgithubアカウントとslackを連携
・通知を入れたいチャンネルと結びつける
・リポジトリとslackを連携

1.githubアカウントとslackを紐づける

ワークスペースの左上にある「その他」をクリックして「App」から「git」をクリックする

そしたらGitとDMが出来るようになる。
そこで

/github signin

を実行して、githubアカウントとslackを紐づける。

2.チャンネルにgithubを招待

通知を入れたいチャンネルで

/invite @GitHub 

を実行する。

3.チャンネルと通知元のリポジトリを連携

チャンネルで

/github subscribe ユーザー名/リポジトリ名

を実行。

もしかしたら

Either the app isn't installed on your repository or the repository does not exist. Install it to proceed.

と出てくるかもしれないので、そしたら
緑のinstall github app
をクリックしてgithubのページに飛んでインストールをする。

それから再度slackに戻るとSubscribed to ~~~~と出ているはずだ。
これで完了である。

試しにissueなどを作ってみると通知が来るはずである。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?