diff options
author | Artak <34246760+mkArtakMSFT@users.noreply.github.com> | 2022-06-01 02:15:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 02:15:45 +0300 |
commit | 53855d25b55fbfb534014477ecfec63b242da24b (patch) | |
tree | 3a09da7f9a7508dcfa588feef5599730aa12afde /.github | |
parent | 0d1a2a869b8d00e9ddb1eb8f7ce98e261dc1becd (diff) |
Add a rule to mention the `aspnet-build` team on infrastructure issues (#41940)
* Add a rule to mention the `aspnet-build` team on infrastructure issues
Also drop a comment on community contributions suggesting that someone will get assigned to the PR soon and get it reviewed.
**Note**: Because we don't rely on FabricBot UI any more, I am using the `Internal: Debug` label to validate my new rule. After validation, I'll update this file one more time to remove the condition.
* Update .github/fabricbot.json
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/fabricbot.json | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 17ffad4e42..b1b3affeeb 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" + } + } + ] + } } ] |