mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-20 11:06:47 +00:00
Added Joke and summary in bullet point
This commit is contained in:
parent
015e6a0826
commit
0d2c101877
4 changed files with 89 additions and 18 deletions
21
action.yaml
21
action.yaml
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue