We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7daa185 commit fb6a00fCopy full SHA for fb6a00f
tools/devops/automation/scripts/GitHub.psm1
@@ -677,7 +677,7 @@ mutation {
677
Write-Host "Current commit is not the latest in PR, attempting to hide the new comment"
678
try {
679
Start-Sleep -Seconds 2 # Give GitHub a moment to process the comment
680
- $this.MinimizeCommentId($result.id)
+ $this.MinimizeCommentId($result.node_id)
681
} catch {
682
Write-Host "Warning: Failed to hide comment for non-latest commit: $_"
683
}
0 commit comments