summaryrefslogtreecommitdiffstats
path: root/etc/tool/copilot.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-23 05:03:26 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-23 05:03:26 +0100
commitb6feec9e7d9232c0074511e6872e60234167f8d9 (patch)
tree878a58a4961146bf6cb3a480e90d716dd832286c /etc/tool/copilot.py
parentFix background in select box (diff)
downloadgpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.gz
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.bz2
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.lz
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.xz
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.zst
gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.zip
Diffstat (limited to 'etc/tool/copilot.py')
-rw-r--r--etc/tool/copilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py
index 003daf58..348b8bb8 100644
--- a/etc/tool/copilot.py
+++ b/etc/tool/copilot.py
@@ -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)