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. 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. 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. 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. 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 infoBest 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"