Added Joke and summary in bullet point

This commit is contained in:
Bhavik MacBook PRO 16 2023-05-07 06:18:45 +05:30
parent 015e6a0826
commit 0d2c101877
4 changed files with 89 additions and 18 deletions

View file

@ -27,16 +27,35 @@ inputs:
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:
default: 'Please analyze the pull request''s code and provide me an explanation for your decision in bullet points. Also provide me whether it requires optimization or code correction:
\`\`\`
${code}
\`\`\`'
JOKE_TEMPLATE:
description: 'The template for the FULL_REVIEW_JOKE prompt.'
default: 'Please analyze the pull request''s code and can you write a funny joke about it.:
\`\`\`
${code}
\`\`\`'
CODE_TEMPLATE:
description: 'The place for the actual code.'
default: '
\`\`\`
${code}
\`\`\`'
ANSWER_TEMPLATE:
description: 'The template for the answer sent to the GitHub comment.'
default: 'AI Code Review:
### Summary:
${answer}'
### Funny Joke about this PR:
${joke}'
runs:
using: 'node16'