|
1 | 1 | --- |
2 | 2 | - scheduleTask: |
3 | | - action: sendEmailToAssignee |
4 | | - repoWhitelist: |
5 | | - - Azure/azure-rest-api-specs |
| 3 | + action: sendEmail |
6 | 4 | scope: pull_request |
| 5 | + name: "send email to swagger reviewer" |
| 6 | + trigger: |
| 7 | + - label |
7 | 8 | args: |
8 | | - booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))" |
9 | | - limit: 48h |
10 | | - message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${URL} . The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to [email protected].</li> <li>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"</li> <li>If no response from Azure API review board, please send email to [email protected].</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team [email protected].</li> <li>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.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' |
11 | | - subject: "Action Required: Please respond to PR ${URL}" |
12 | | - description: "None initial response in 48 hours. For public repo." |
13 | | - name: "[PUBLIC] initial response notification" |
| 9 | + booleanFilterExpression: "WaitForReviewRevisit&&!NotReadyForReview" |
| 10 | + message: '<p>Dear Swagger reviewer,</p><p>The PR ${URL} requires your attention. You receive the email either because PR author put on the label "WaitForReviewVisit", or because the PR has not been updated for over 48 hours.</p><p>The PR labeled with ${LABELS}</p><p>Quick info.</p><ul><li>If it requires responses from ARM review board, please send email to <a href="mailto: [email protected]"> [email protected]</a>.</li><li>If it requires immediate ARM review, please get ARM review oncall contact point from ICM <a href="https://icm.ad.msft.net/imp/v3/oncall/current">https://icm.ad.msft.net/imp/v3/oncall/current</a> under Service "Azure Resource Manager" and Team "RP Manifest Approvers".</li><li>If it is data plane API and requires responses from Azure API review board, please send email to <a href="mailto: [email protected]"> [email protected]</a>.</li><li>Pls refer to <a href="https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review">https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review</a> for more about Swagger review process.</li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team ( [email protected]).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>' |
| 11 | + subject: "Action Required: Please respond to the PR ${URL}" |
| 12 | + to: ${ASSIGNEE} |
| 13 | + cc: |
| 14 | + - ${AUTHOR} |
14 | 15 |
|
15 | 16 | - scheduleTask: |
16 | | - action: sendEmailToAssignee |
17 | | - repoWhitelist: |
18 | | - - Azure/azure-rest-api-specs-pr |
| 17 | + action: sendEmail |
19 | 18 | scope: pull_request |
| 19 | + name: "send email to swagger reviewer" |
| 20 | + trigger: |
| 21 | + - time |
20 | 22 | args: |
21 | | - booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))" |
| 23 | + booleanFilterExpression: "!(NotReadyForReview||Reviewed-ChangesRequired||WaitForARMFeedback||WaitForARMRevisit||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))" |
22 | 24 | limit: 48h |
23 | | - message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${URL} . The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to [email protected].</li> <li>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"</li> <li>If no response from Azure API review board, please send email to [email protected].</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team [email protected].</li> <li>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.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' |
24 | | - subject: "Action Required: Please respond to PR ${URL}" |
25 | | - description: "None initial response in 48 hours. For private repo." |
26 | | - name: "[PRIVATE] initial response notification" |
| 25 | + message: '<p>Dear Swagger reviewer,</p><p>The PR ${URL} requires your attention. You receive the email either because PR author put on the label "WaitForReviewVisit", or because the PR has not been updated for over 48 hours.</p><p>The PR labeled with ${LABELS}</p><p>Quick info.</p><ul><li>If it requires responses from ARM review board, please send email to <a href="mailto: [email protected]"> [email protected]</a>.</li><li>If it requires immediate ARM review, please get ARM review oncall contact point from ICM <a href="https://icm.ad.msft.net/imp/v3/oncall/current">https://icm.ad.msft.net/imp/v3/oncall/current</a> under Service "Azure Resource Manager" and Team "RP Manifest Approvers".</li><li>If it is data plane API and requires responses from Azure API review board, please send email to <a href="mailto: [email protected]"> [email protected]</a>.</li><li>Pls refer to <a href="https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review">https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review</a> for more about Swagger review process.</li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team ( [email protected]).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>' |
| 26 | + subject: "Action Required: Please respond to the PR ${URL}" |
| 27 | + to: ${ASSIGNEE} |
| 28 | + cc: |
| 29 | + - ${AUTHOR} |
27 | 30 |
|
28 | 31 | - scheduleTask: |
29 | 32 | action: sendEmail |
30 | 33 | scope: pull_request |
| 34 | + name: "send email to ARM review board" |
| 35 | + trigger: |
| 36 | + - label |
31 | 37 | args: |
32 | | - booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)" |
33 | | - limit: 3d |
34 | | - subject: "Action Required: Please help to review PR ${URL}" |
35 | | - message: "<p> Dear ARM review board, <br> <br>Please review PR ${URL} , the PR is waiting for ARM review over 3 days. Thanks.<br><hr /> <br>Quick info<ul><li>If you have feedback about the notification email, please contact us at [email protected].</li><li>After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.</li><li>Please do not reply to this email, this is an automatic generated email.</li></ul>Best regards,<br> Azure Management Experience</p>" |
| 38 | + booleanFilterExpression: "(WaitForARMFeedback||WaitForARMRevisit)&&!NotReadyForReview&&!ARMSignedOff&&!ARMChangesRequested" |
| 39 | + message: '<p>Dear ARM review board,</p><p>Please review the PR ${URL} . You receive the email because the PR is labeled with either "WaitForARMFeedback" or "WaitForARMRevisit".</p><p>Quick info.</p><ul><li>After review, please remove the label “WaitForARMFeedback” or "WaitForARMRevisit" from the PR, so that there will not be further notification email.</li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team ([email protected]).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>' |
| 40 | + subject: "Action Required: Please respond to the PR ${URL}" |
36 | 41 | |
37 | | - description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback" |
38 | | - name: "send email to ARM team" |
| 42 | + cc: |
| 43 | + - ${AUTHOR} |
| 44 | + - ${ASSIGNEE} |
| 45 | + |
| 46 | +- scheduleTask: |
| 47 | + action: sendEmail |
| 48 | + scope: pull_request |
| 49 | + name: "send email to swagger and tools team" |
| 50 | + trigger: |
| 51 | + - label |
| 52 | + args: |
| 53 | + booleanFilterExpression: (LintRuleCandidate||ValidationToolBug) |
| 54 | + message: '<p>Dear Swagger and Tools Team,</p><p>Please check the PR ${URL} . You receive the email because the PR is labeled "LintRuleCandidate" or "ValidationToolBug"</p><p>Quick info.</p><ul><li>After review, please ensure to replace the label “LintRuleCandidate” or "ValidationToolBug" with "LintRuleCandidateCollected" or "ValidationToolBugCollected", so that there will not be further notification email.</li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team ([email protected]).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>' |
| 55 | + subject: "Action Required: Please review the PR ${URL}" |
| 56 | + |
| 57 | + cc: |
| 58 | + - ${AUTHOR} |
| 59 | + - ${ASSIGNEE} |
39 | 60 |
|
40 | 61 | - scheduleTask: |
41 | | - action: sendEmailToAssignee |
| 62 | + action: sendEmail |
| 63 | + scope: pull_request |
| 64 | + name: "send email to PR author" |
| 65 | + trigger: |
| 66 | + - label |
| 67 | + - time |
| 68 | + args: |
| 69 | + limit: 72h |
| 70 | + booleanFilterExpression: (Reviewed-ChangesRequired||ARMChangeRequest) |
| 71 | + message: '<p>Dear PR author,</p><p>The PR Reviewer has commented on your PR ${URL} , putting on the label "Reviewed-ChangesRequired" or "ARMChangeRequest". Please check out the comment by clicking the PR link attached previously, and update your commits accordingly.</p><p>Please ensure to remove "Reviewed-ChangesRequired" or "ARMChangeRequest" label, after you complete updates and comment back. If you need ARM board or swagger reviewer revisit your PR, please label the PR with "WaitForARMRevisit" and "WaitForReviewRevisit" respectively.</p><p>Quick info.</p><ul><li>How to fix CI error: <a href="https://aka.ms/ci-fix">https://aka.ms/ci-fix</a></li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team ([email protected]).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>' |
| 72 | + subject: "Action Required: Please update your PR ${URL}" |
| 73 | + to: ${AUTHOR} |
| 74 | + cc: |
| 75 | + - ${ASSIGNEE} |
| 76 | + |
| 77 | +- scheduleTask: |
| 78 | + action: sendEmail |
42 | 79 | scope: issue |
43 | 80 | args: |
44 | | - booleanFilterExpression: "triage" |
| 81 | + booleanFilterExpression: "needs-triage" |
45 | 82 | limit: 48h |
46 | 83 | message: "<p> Dear Swagger reviewer, <br> <br> Please response to the issue ${URL} . The issue isn't updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If you have any question, please send email to Visual Studio Swagger and Tool team [email protected].</li> </ul> Best regards, <br> Azure Management Experience </p>" |
47 | 84 | subject: "Action Required: Please respond to issue ${URL}" |
48 | | - |
| 85 | + to: ${ASSIGNEE} |
| 86 | + |
0 commit comments