A dart util to mention GitHub pull request reviewers and authors of pull requests with failed checks in slack.
- Install Dart or Flutter on your computer.
- Clone the repo.
- Create
pr_reviewers_ping_config.json
at the repo root directory with the following fields:
{
"repoOwner" : "github repo owner name",
"projectName" : "github project name",
"slackWebhookUrl" : "slack webhook url to be used https://hooks.slack.com/services/...",
"githubToSlackUsersMap" : {"github-nickname-1":"slack member Id 1", "github-nickname-2":"slack member Id 2"}
}
- Run
dart bin/pr_reviewers_ping.dart --token <github_token> [--skip_no_prs_message]
from the root directory.