diff options
author | Artak <34246760+mkArtakMSFT@users.noreply.github.com> | 2022-10-26 04:55:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 04:55:38 +0300 |
commit | 56075e222e6e8f07989fb877a4737b3430dbb6a0 (patch) | |
tree | 9def682536132adcac89d3609c3e83c1abc9779e /.github | |
parent | 9f12dc698bc48f75cc7ee89f219123a145d85aa4 (diff) |
Add a rule for servicing PR authors to get a notification about who will be merging these PRs (#44735)
Diffstat (limited to '.github')
-rw-r--r-- | .github/fabricbot.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 9215a8dc17..d96b7d55a6 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -3327,6 +3327,40 @@ } ] } + }, + { + "taskType": "trigger", + "capabilityId": "IssueResponder", + "subCapability": "PullRequestResponder", + "version": "1.0", + "config": { + "conditions": { + "operator": "and", + "operands": [ + { + "name": "labelAdded", + "parameters": { + "label": "Servicing-approved" + } + } + ] + }, + "eventType": "pull_request", + "eventNames": [ + "pull_request", + "issues", + "project_card" + ], + "taskName": "[Servicing PR Approved] Let the author know that the PR will be merged by the build team", + "actions": [ + { + "name": "addReply", + "parameters": { + "comment": "Hi @${issueAuthor}. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed." + } + } + ] + } } ], "userGroups": [] |