You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[summarize-checks] Only set status=success if requirementsMet=true (#36609)
- add a new test case for completed FYI, incomplete required, no assessment
- we shouldn't acccidentally set to SUCCESS when dealing with only completed FYI, when we don't yet know the target branch
it("should generate pending summary when checks there are no required checks blocking or completed, but successful FYI checks",async()=>{
708
+
constrepo="azure-rest-api-specs";
709
+
consttargetBranch="main";
710
+
constlabelNames=[
711
+
"ARMReview",
712
+
"ARMAutoSignedOff",
713
+
"resource-manager",
714
+
"TypeSpec",
715
+
"RPaaS",
716
+
"ARMSignedOff",
717
+
"PublishToCustomers",
718
+
];
719
+
constexpectedOutput=[
720
+
`<h2>Next Steps to Merge</h2>Important checks have failed. As of today they are not blocking this PR, but in near future they may.<br/>Addressing the following failures is highly recommended:<br/><ul><li>⚠️ The check named <code>Swagger LintDiff</code> has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the <a href="https://aka.ms/ci-fix">aka.ms/ci-fix</a> guide</li></ul><br /><br />Comment generated by <a href="http://github.com/a/fake/workflowrun/url">summarize-checks</a> workflow run.`,
0 commit comments