mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-22 15:05:57 +03:00
Check for comments in copilot
This commit is contained in:
parent
2193d18865
commit
b6feec9e7d
@ -217,7 +217,7 @@ def main():
|
||||
if not pull:
|
||||
print(f"No PR number found")
|
||||
exit()
|
||||
if pull.get_reviews().totalCount > 0 or pull.get_comments().totalCount > 0:
|
||||
if pull.get_reviews().totalCount > 0 or pull.get_issue_comments().totalCount > 0:
|
||||
print(f"Has already a review")
|
||||
exit()
|
||||
diff = get_diff(pull.diff_url)
|
||||
|
Loading…
Reference in New Issue
Block a user