Skip to content

Commit 366df3a

Browse files
authored
Add link for needs-revision (#22719)
1 parent f61c26c commit 366df3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/script/PrLabeled.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Please follow our [guide](https://eng.ms/docs/cloud-ai-platform/azure-core/azure
2323
"@
2424
"needs-revision" = @"
2525
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
26-
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide (link TBD) to troubleshoot common CI failures.
26+
Please resolve all open review comments and make sure all CI checks are green. Refer to our [guide](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/ci_tsg) to troubleshoot common CI failures.
2727
"@
2828
}
2929

@@ -62,7 +62,8 @@ if ($CommentDict.ContainsKey($LabelName)) {
6262
}
6363
else {
6464
try {
65-
gh pr comment $PrUrl --body $comment
65+
Out-File -FilePath comment.txt -InputObject $comment
66+
gh pr comment "${PrUrl}" --body-file comment.txt
6667
}
6768
catch {
6869
Write-Host "Failed to add comment: $_"

0 commit comments

Comments
 (0)