mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updated mention bot config (#5349)
This commit is contained in:
33
.mention-bot
33
.mention-bot
@@ -1,20 +1,19 @@
|
|||||||
{
|
{
|
||||||
"maxReviewers": 3, // Maximum number of people to ping in the PR message, default is 3
|
"maxReviewers": 3,
|
||||||
"numFilesToCheck": 5, // Number of files to check against, default is 5
|
"numFilesToCheck": 5,
|
||||||
"message": "Thank you for submitting a PR @pullRequester! We have found the following @reviewers based on the history of these files to review this PR.",
|
"message": "Thank you for submitting a PR @pullRequester! We have found the following @reviewers based on the history of these files to review this PR.",
|
||||||
// custom message using @pullRequester and @reviewers
|
"findPotentialReviewers": true,
|
||||||
"findPotentialReviewers": true, // mention-bot will try to find potential reviewers based on files history, if disabled, `alwaysNotifyForPaths` is used instead
|
"fileBlacklist": ["*.md", "vendor/*", "lib/*", "*.png", "*.svg"],
|
||||||
"fileBlacklist": ["*.md", "vendor/*", "lib/*", "*.png", "*.svg"], // mention-bot will ignore any files that match these file globs
|
"userBlacklist": ["job", "adamathefrog"],
|
||||||
"userBlacklist": ["job", "adamathefrog"], // Users in this list will never be mentioned by mention-bot
|
"userBlacklistForPR": [],
|
||||||
"userBlacklistForPR": [], // PR made by users in this list will be ignored
|
"requiredOrgs": [],
|
||||||
"requiredOrgs": [], // mention-bot will only mention user who are a member of one of these organizations
|
"actions": ["opened"],
|
||||||
"actions": ["opened"], // List of PR actions that mention-bot will listen to, default is "opened"
|
"skipAlreadyAssignedPR": true,
|
||||||
"skipAlreadyAssignedPR": true, // mention-bot will ignore already assigned PR's
|
"skipAlreadyMentionedPR": true,
|
||||||
"skipAlreadyMentionedPR": true, // mention-bot will ignore if there is already existing an exact mention
|
"assignToReviewer": false,
|
||||||
"assignToReviewer": false, // mention-bot assigns the most appropriate reviewer for PR
|
"skipTitle": "--no review--",
|
||||||
"skipTitle": "--no review--", // mention-bot will ignore PR that includes text in the title,
|
"withLabel": "",
|
||||||
"withLabel": "", // mention-bot will only consider PR's with this label. Must set actions to ["labeled"].
|
"delayed": true,
|
||||||
"delayed": true, // mention-bot will wait to comment until specified time in `delayedUntil` value
|
"delayedUntil": "30 minutes",
|
||||||
"delayedUntil": "30 minutes", // 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
|
||||||
"skipCollaboratorPR": false // mention-bot will ignore if PR is made by collaborator
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user