|
| 1 | +{ |
| 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 |
| 4 | + "message": "@pullRequester, thanks! @reviewers, please review this.", |
| 5 | + // custom message using @pullRequester and @reviewers |
| 6 | + "alwaysNotifyForPaths": [ |
| 7 | + { |
| 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 |
| 11 | + } |
| 12 | + ], // Users will always be mentioned based on file glob |
| 13 | + "fallbackNotifyForPaths": [ |
| 14 | + { |
| 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 |
| 18 | + } |
| 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 |
| 36 | +} |
0 commit comments