Context
The 'After APIView' workflow would post a comment to the pull request with a table containing links to each language's API view like below:
## API Change Check
APIView identified API level changes in this PR and created the following API reviews
| Language | API Review for Package |
|----------|---------|
| Go | [sdk/resourcemanager/network/armnetwork](https://spa.apiview.dev/review/1b263a329090477991c0a7b7b0ae21d7?activeApiRevisionId=4a354a9d2d9645bdbf20c32b07609736) |
| Java | [com.azure.resourcemanager:azure-resourcemanager-network](https://spa.apiview.dev/review/c3b4a90f245642fb856a5626aa29b141?activeApiRevisionId=6ec158524ed24c46b3713191aa764926) |
| JavaScript | [@azure/arm-network](https://spa.apiview.dev/review/c13fd66ecbcc4c2a9995c8a1f4187240?activeApiRevisionId=8a3b9d5bd5e046999cb585aa0c9b473a) |
<!-- Fetch URI: https://apiview.dev/api/pullrequests?pullRequestNumber=42367&repoName=Azure/azure-rest-api-specs&commitSHA=6e74fe9d04c13646ef4dfa4451046a62de18766d -->
What to do
This task is to add the link of the github action run which posts the comment to the end of the comment followed by two empty lines.
Source code
workflow run template: https://github.com/Azure/azure-sdk-tools/blob/main/.github/workflows/post-apiview.yml
backend script to construct the comment:
|
$commentText += "## API Change Check" |
Context
The 'After APIView' workflow would post a comment to the pull request with a table containing links to each language's API view like below:
What to do
This task is to add the link of the github action run which posts the comment to the end of the comment followed by two empty lines.
Source code
workflow run template: https://github.com/Azure/azure-sdk-tools/blob/main/.github/workflows/post-apiview.yml
backend script to construct the comment:
azure-sdk-tools/eng/common/scripts/Helpers/ApiView-Helpers.ps1
Line 178 in c721eb9