diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 09:31:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 09:31:02 +0100 |
commit | c10f49de5ffd3cb020fc94c390ea3331fa58413d (patch) | |
tree | b2bfafba1f5856ecd911f210767c448fd971ec5b /etc/tool/copilot.py | |
parent | Merge pull request #1504 from hlohaus/sort (diff) | |
parent | Check for comments in copilot (diff) | |
download | gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar.gz gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar.bz2 gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar.lz gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar.xz gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.tar.zst gpt4free-c10f49de5ffd3cb020fc94c390ea3331fa58413d.zip |
Diffstat (limited to 'etc/tool/copilot.py')
-rw-r--r-- | etc/tool/copilot.py | 2 |
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) |