forked from rangle/augury
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mention-bot
24 lines (24 loc) · 1.42 KB
/
.mention-bot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"maxReviewers": 2, // Maximum number of people to ping in the PR message, default is 3
"numFilesToCheck": 10, // Number of files to check against, default is 5
"message": "@pullRequester, thanks! @reviewers, please review this.",
// custom message using @pullRequester and @reviewers
"alwaysNotifyForPaths": [
{
"name": "ghuser", // The user's Github username
"files": ["src/js/**/*.js"] // The array of file globs associated with the user
}
], // users will always be mentioned based on file glob
"fallbackNotifyForPaths": [
{
"name": "ghuser", // The user's Github username
"files": ["src/js/**/*.js"] // The array of file globs associated with the user
}
], // users will be mentioned based on file glob if no other user was found
"findPotentialReviewers": true, // mention-bot will try to find potential reviewers based on files history, if disabled, `alwaysNotifyForPaths` is used instead
"fileBlacklist": ["*.md"], // mention-bot will ignore any files that match these file globs
"userBlacklist": ["winkerVSbecks"], // users in this list will never be mentioned by mention-bot
"userBlacklistForPR": ["winkerVSbecks"], // PR made by users in this list will be ignored
"requiredOrgs": [], // mention-bot will only mention user who are a member of one of these organizations
"actions": ["opened"] // List of PR actions that mention-bot will listen to, default is "opened"
}