From 4d9329e59edb4bdfe1731fc9d72512d15573f6cd Mon Sep 17 00:00:00 2001 From: Bhavik MacBook PRO 16 Date: Sun, 23 Apr 2023 16:52:46 +0530 Subject: [PATCH] Added code for Gitea --- action.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/action.yaml b/action.yaml index 6d58c6b..442c080 100644 --- a/action.yaml +++ b/action.yaml @@ -22,13 +22,12 @@ inputs: description: 'The maximum code length for the pull request to be sent to OpenAI.' default: 6000 type: int - PROMPT_TEMPLATE: - description: 'The template for the FULL_REVIEW_COMMENT prompt.' - default: 'Please analyze the pull request''s code and inform me whether it requires optimization, and provide an explanation for your decision: SOURCE_AT: description: 'Where is the source code located' default: 'github' - + PROMPT_TEMPLATE: + description: 'The template for the FULL_REVIEW_COMMENT prompt.' + default: 'Please analyze the pull request''s code and inform me whether it requires optimization, and provide an explanation for your decision: \`\`\` ${code} \`\`\`'