diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 17ffad4e42c2..b1b3affeebaf 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -2516,6 +2516,12 @@ "parameters": { "label": "community-contribution" } + }, + { + "name": "addReply", + "parameters": { + "comment": "Thanks for your PR, @${issueAuthor}. Someone from the team will get assigned to your PR shortly and we'll get it reviewed." + } } ] } @@ -3283,5 +3289,57 @@ } ] } + }, + { + "taskType": "trigger", + "capabilityId": "IssueResponder", + "subCapability": "PullRequestResponder", + "version": "1.0", + "config": { + "conditions": { + "operator": "and", + "operands": [ + { + "name": "labelAdded", + "parameters": { + "label": "area-infrastructure" + } + }, + { + "name": "isAction", + "parameters": { + "action": "labeled" + } + }, + { + "name": "hasLabel", + "parameters": { + "label": "Internal: Debug" + } + } + ] + }, + "eventType": "pull_request", + "eventNames": [ + "pull_request", + "issues", + "project_card" + ], + "taskName": "Ping the build team on infrastructure issues", + "actions": [ + { + "name": "addReply", + "parameters": { + "comment": "Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at." + } + }, + { + "name": "assignToUser", + "parameters": { + "user": "aspnet-build" + } + } + ] + } } ]