From a29a7375e7e5b3cb16d2085ed91207a41cf43622 Mon Sep 17 00:00:00 2001 From: N'Godjigui Junior Diarrassouba <41027427+madewithsmiles@users.noreply.github.com> Date: Wed, 29 Jul 2020 20:58:57 -0500 Subject: [PATCH] Adding new path-based rule for the Compute API (#10253) This is a new yml rule that specifies a configuration helpful to the cplat (Compute Platform) sdk team. This configuration rule mainly specifies a path, here the Compute Management library's path, and an email that will be sent by the bot whenever a PR is opened and the PR changes are in the Compute Management library's path. --- .github/sla.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/sla.yml b/.github/sla.yml index f0ce3592d482..005dfda9139a 100644 --- a/.github/sla.yml +++ b/.github/sla.yml @@ -84,3 +84,18 @@ subject: "Action Required: Please respond to issue ${URL}" to: ${ASSIGNEE} cc: vscswagger@microsoft.com + +- scheduleTask: + action: sendEmail + scope: pull_request + name: "send email given path change" + trigger: + - path + args: + message: '
You have just completed the first step towards onboarding your API change to the Compute Management library.
We (the CPlatSDK/PowerShell team) manage the Compute library's API and SDK for the following clients: Swagger (REST api), .NET SDK, and Azure PowerShell.
You've just opened a PR making changes in the Compute Management Library's path of the Azure REST Api Specs repository.
What's next?
This email was automatically sent. Please send an email to cplatsdkdev@microsoft.com if you have any questions.
' + targetPaths: + - "specification/compute/resource-manager/Microsoft.Compute/**" + subject: "[Action Required] CPlat Swagger Pull Request opened: Next steps" + to: ${AUTHOR} + cc: + - cplatsdkdev@microsoft.com