From 5ebd5745185a4481aa5fe6d3853e644758c347f9 Mon Sep 17 00:00:00 2001
From: ruowan
Date: Mon, 21 Oct 2019 07:13:18 +0000
Subject: [PATCH] update ARM email template and fix repoWhiltelist location
---
.github/sla.yml | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 7dcf853a030d..832adeb0572d 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -1,10 +1,10 @@
---
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
- repoWhitelist:
- - Azure/azure-rest-api-specs
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience
'
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -13,10 +13,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
- repoWhitelist:
- - Azure/azure-rest-api-specs
limit: 5d
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -25,10 +25,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs-pr
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
- repoWhitelist:
- - Azure/azure-rest-api-specs-pr
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -37,10 +37,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs-pr
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
- repoWhitelist:
- - Azure/azure-rest-api-specs-pr
limit: 5d
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -49,11 +49,13 @@
- scheduleTask:
action: sendEmail
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
limit: 3d
- subject: "ARM team notification email"
- message: "Dear ARM team, This is a notification email. The PR ${PR_URL} is waiting on ARM team review over 3 days. Please response to the PR. After response to the PR, please remove WaitForARMFeedback label and the bot won't send notification email about the PR to you again. This is a test email. If you have any suggestion about email template, pls contact to Ruoxuan.Wang(ruowan@microsoft.com)"
+ subject: "Action Required: Please help to review PR ${PR_URL}"
+ message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to correct state.
Best regards,
Azure Management Experience"
to: yungez@microsoft.com
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback"
name: "send email to ARM team"