Skip to content

Commit fb6a00f

Browse files
authored
[devops] Fix hiding comments. (#23661)
1 parent 7daa185 commit fb6a00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/devops/automation/scripts/GitHub.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ mutation {
677677
Write-Host "Current commit is not the latest in PR, attempting to hide the new comment"
678678
try {
679679
Start-Sleep -Seconds 2 # Give GitHub a moment to process the comment
680-
$this.MinimizeCommentId($result.id)
680+
$this.MinimizeCommentId($result.node_id)
681681
} catch {
682682
Write-Host "Warning: Failed to hide comment for non-latest commit: $_"
683683
}

0 commit comments

Comments
 (0)