GitHubのScheduled remindersはレビュー待ちのPRを定期的にSlack上でリマインドしてくれる機能として使っている人もいるかと思いますが、実は自分に関連したアクションをリアルタイムでDMに通知してくれる機能もあります。
対応している通知
Organizationごとに以下の通知を設定できます。この設定は個人設定になります。
You are assigned a review
, Your team is assigned a review
(自分 (自チーム) がレビュワーにアサインされた), Your PR has merge conflicts
(自分のPRがコンフリクトした) 辺りはGitHubのSlack通知 (GitHub + Slack Integration) では通知されないので便利ですね。
- You are assigned a review
- Your team is assigned a review
- Your PR is approved or has changes requested
- You are made an assignee
- Someone comments on your PR
- Someone comments in a thread you're in
- You are mentioned in a comment
- Someone merges your pull request
- Your PR has merge conflicts
- Your PR has failed CI checks
設定方法
- 対象のOrganizationのScheduled remindersの個人設定 (
https://github.com/settings/reminders/{organization名}
) を開きます。 - (Scheduled remindersとSlackを連携していない場合のみ)
Authorize Slack workspace
をクリックしてSlackと連携します。 -
Enable real-time alerts
にチェックを入れ、有効にしたい通知にチェックを入れます。 -
Create reminder
(既にScheduled reminders作成済みの場合はUpdate reminder
) をクリックします。