Skip to content

Commit 9b4d47c

Browse files
azure-sdkCopilotraych1
authored
Sync .github directory with azure-sdk-tools for PR 15134 (#46333)
* Add GitHub Action run link to APIView PR comment Agent-Logs-Url: https://github.com/Azure/azure-sdk-tools/sessions/0a4d8e3c-c96b-4265-905c-5f8918876354 Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com> * Pass GitHubActionRunUrl via environment variable and use IsNullOrWhiteSpace guard Agent-Logs-Url: https://github.com/Azure/azure-sdk-tools/sessions/61d68e76-9b14-444b-b244-44d770e9a9b2 Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com> Co-authored-by: Ray Chen <raychen@microsoft.com>
1 parent 1f34a1d commit 9b4d47c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/post-apiview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ jobs:
3131
- name: Create APIView Comment on PR
3232
run: |
3333
. "eng/common/scripts/Helpers/ApiView-Helpers.ps1"
34-
Set-ApiViewCommentForRelatedIssues -HeadCommitish ${{ github.event.check_run.head_sha }} -AuthToken ${{ secrets.GITHUB_TOKEN }}
34+
Set-ApiViewCommentForRelatedIssues -HeadCommitish ${{ github.event.check_run.head_sha }} -AuthToken ${{ secrets.GITHUB_TOKEN }} -GitHubActionRunUrl $env:GITHUB_ACTION_RUN_URL
3535
shell: pwsh
36+
env:
37+
GITHUB_ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)