Make Create-APIReview report Errors when API is not approved#16323
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Create-APIReview.ps1 reporting so that API approval failures are emitted as PowerShell errors, making the underlying cause more visible in pipeline logs without needing to inspect detailed logs.
Changes:
- Switch GA “API review not approved” messaging from
Write-HosttoWrite-Error. - Switch the end-of-run summary line (“API changes are not approved…”) from
Write-HosttoWrite-Error.
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16323 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Travis Prescott <trpresco@microsoft.com> Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16323 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Travis Prescott <trpresco@microsoft.com> Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Make the actual failure stand out in the logs without having to look into the detailed logs.