Skip to content

Commit 7dba105

Browse files
author
denfromufa
authored
Update .mention-bot
1 parent 39e4673 commit 7dba105

File tree

1 file changed

+26
-27
lines changed

1 file changed

+26
-27
lines changed

.mention-bot

+26-27
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
{
2-
"maxReviewers": 5, // Maximum number of people to ping in the PR message, default is 3
3-
"numFilesToCheck": 10, // Number of files to check against, default is 5
2+
"maxReviewers": 5,
3+
"numFilesToCheck": 10,
44
"message": "@pullRequester, thanks! @reviewers, please review this.",
5-
// custom message using @pullRequester and @reviewers
65
"alwaysNotifyForPaths": [
76
{
8-
"name": "ghuser", // The user's Github username
9-
"files": ["src/js/**/*.js"], // The array of file globs associated with the user
10-
"skipTeamPrs": false // mention-bot will exclude the creator's own team from mentions
7+
"name": "ghuser",
8+
"files": ["src/js/**/*.js"],
9+
"skipTeamPrs": false
1110
}
12-
], // Users will always be mentioned based on file glob
11+
],
1312
"fallbackNotifyForPaths": [
1413
{
15-
"name": "ghuser", // The user's Github username
16-
"files": ["src/js/**/*.js"], // The array of file globs associated with the user
17-
"skipTeamPrs": false // mention-bot will exclude the creator's own team from mentions
14+
"name": "ghuser",
15+
"files": ["src/js/**/*.js"],
16+
"skipTeamPrs": fals
1817
}
19-
], // Users will be mentioned based on file glob if no other user was found
20-
"findPotentialReviewers": true, // mention-bot will try to find potential reviewers based on files history, if disabled, `alwaysNotifyForPaths` is used instead
21-
"fileBlacklist": ["*.md"], // mention-bot will ignore any files that match these file globs
22-
"userBlacklist": [], // Users in this list will never be mentioned by mention-bot
23-
"userBlacklistForPR": [], // PR made by users in this list will be ignored
24-
"requiredOrgs": [], // mention-bot will only mention user who are a member of one of these organizations
25-
"actions": ["opened"], // List of PR actions that mention-bot will listen to, default is "opened"
26-
"skipAlreadyAssignedPR": false, // mention-bot will ignore already assigned PR's
27-
"skipAlreadyMentionedPR": false, // mention-bot will ignore if there is already existing an exact mention
28-
"assignToReviewer": false, // mention-bot assigns the most appropriate reviewer for PR
29-
"createReviewRequest": false, // mention-bot creates review request for the most appropriate reviewer for PR
30-
"createComment": true, // mention-bot creates a comment mentioning the reviewers for the PR
31-
"skipTitle": "", // mention-bot will ignore PR that includes text in the title,
32-
"withLabel": "", // mention-bot will only consider PR's with this label. Must set actions to ["labeled"].
33-
"delayed": false, // mention-bot will wait to comment until specified time in `delayedUntil` value
34-
"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'
35-
"skipCollaboratorPR": false // mention-bot will ignore if PR is made by collaborator
18+
],
19+
"findPotentialReviewers": true,
20+
"fileBlacklist": ["*.md"],
21+
"userBlacklist": [],
22+
"userBlacklistForPR": [],
23+
"requiredOrgs": [],
24+
"actions": ["opened"],
25+
"skipAlreadyAssignedPR": false,
26+
"skipAlreadyMentionedPR": false,
27+
"assignToReviewer": false,
28+
"createReviewRequest": false,
29+
"createComment": true,
30+
"skipTitle": "",
31+
"withLabel": "",
32+
"delayed": false,
33+
"delayedUntil": "3d",
34+
"skipCollaboratorPR": false
3635
}

0 commit comments

Comments
 (0)