- 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",
"githubPat" : "github personal access token to be used for authentification",
"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 [--skip_no_prs_message]
from the root directory.