2023-07-19 20:57:14 +03:00
commands_text = " > **/review [-i]**: Request a review of your Pull Request. For an incremental review, which only " \
2023-07-19 17:27:12 +03:00
" considers changes since the last review, include the ' -i ' option. \n " \
2023-07-30 11:43:44 +03:00
" > **/describe**: Modify the PR title and description based on the contents of the PR. \n " \
2023-08-22 09:42:59 +03:00
" > **/improve [--extended]**: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback. \n " \
2023-08-13 11:32:02 +03:00
" > **/ask \\ <QUESTION \\ >**: Pose a question about the PR. \n " \
2023-08-11 18:50:56 +03:00
" > **/update_changelog**: Update the changelog based on the PR ' s contents. \n \n " \
" >To edit any configuration parameter from **configuration.toml**, add --config_path=new_value \n " \
2023-08-02 16:42:54 +03:00
" >For example: /review --pr_reviewer.extra_instructions= \" focus on the file: ... \" \n " \
" >To list the possible configuration parameters, use the **/config** command. \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