Skip to content

Commit

Permalink
skip comment when pr updated
Browse files Browse the repository at this point in the history
  • Loading branch information
malhotra5 committed Dec 16, 2024
1 parent 08b1031 commit c94591f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/openhands-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ jobs:
console.error('Error reading results file:', error);
}
if (logContent.includes("Updated pull request")) {
console.log("Updated pull request found. Skipping comment.");
return;
}
try {
if (success) {
prNumber = fs.readFileSync('/tmp/pr_number.txt', 'utf8').trim();
Expand Down

0 comments on commit c94591f

Please sign in to comment.