Files
pr-agent/pr_agent/servers/help.py

14 lines
700 B
Python
Raw Normal View History

2023-07-16 17:41:23 +03:00
commands_text = "> /review - Request a review of the latest update to the PR.\n" \
"> /describe - Modify the PR title and description based on the contents of the PR.\n" \
"> /improve - Suggest improvements to the code in the PR. " \
"These will be provided as pull request comments, ready to commit.\n" \
"> /ask <QUESTION> - Pose a question about the PR.\n"
2023-07-16 15:00:13 +03:00
def bot_help_text(user: str):
return f"> Tag me in a comment '@{user}' and add one of the following commands:\n" + commands_text
2023-07-16 17:41:23 +03:00
actions_help_text = "> To invoke the PR-Agent, add a comment using one of the following commands:\n" + \
2023-07-16 15:00:13 +03:00
commands_text