Merge pull request #15 from Codium-ai/bugfix/double_notifications

Don't add "How to use" when running from the command line - a small c…
This commit is contained in:
Ori Kotek 2023-07-06 18:36:27 +03:00 committed by GitHub
commit 2c4c7c485e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,6 @@ class PRReviewer:
if not self.cli_mode:
markdown_text += "\n### How to use\n"
if user and '[bot]' not in user:
markdown_text += "\n### How to use\n"
markdown_text += f"> Tag me in a comment '@{user}' to ask for a new review after you update the PR.\n"
markdown_text += "> You can also tag me and ask any question, " \
f"for example '@{user} is the PR ready for merge?'"