-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.mention-bot
37 lines (37 loc) · 2.66 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
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"maxReviewers": 3, // Maximum number of people to ping in the PR message, default is 3
"numFilesToCheck": 5, // Number of files to check against, default is 5
"message": "@pullRequester, thanks! @reviewers, please review this.",
// custom message using @pullRequester and @reviewers
"alwaysNotifyForPaths": [
{
"name": "suriyaa", // The user's Github username
"files": ["*.*"], // The array of file globs associated with the user
"skipTeamPrs": false // mention-bot will exclude the creator's own team from mentions
}
], // Users will always be mentioned based on file glob
"fallbackNotifyForPaths": [
{
"name": "suriyaa", // The user's Github username
"files": ["*.*"], // The array of file globs associated with the user
"skipTeamPrs": false // mention-bot will exclude the creator's own team from mentions
}
], // 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": ["*.yml"], // mention-bot will ignore any files that match these file globs
"userBlacklist": [], // Users in this list will never be mentioned by mention-bot
"userBlacklistForPR": [], // 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"
"branches": [], // List of branches that mention-bot will listen to, default is all branches
"skipAlreadyAssignedPR": false, // mention-bot will ignore already assigned PR's
"skipAlreadyMentionedPR": false, // mention-bot will ignore if there is already existing an exact mention
"assignToReviewer": false, // mention-bot assigns the most appropriate reviewer for PR
"createReviewRequest": false, // mention-bot creates review request for the most appropriate reviewer for PR
"createComment": true, // mention-bot creates a comment mentioning the reviewers for the PR
"skipTitle": "", // mention-bot will ignore PR that includes this text in the title,
"withLabel": "", // mention-bot will only consider PR's with this label. Must set actions to ["labeled"].
"delayed": false, // mention-bot will wait to comment until specified time in `delayedUntil` value
"delayedUntil": "3d", // Used if delayed is equal true, permitted values are: minutes, hours, or days, e.g.: '3 days', '40 minutes', '1 hour', '3d', '1h', '10m'
"skipCollaboratorPR": false // mention-bot will ignore if PR is made by collaborator
}