mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-06-28 18:34:14 +00:00
Added code for Gitea
This commit is contained in:
parent
6344cae339
commit
4d9329e59e
1 changed files with 3 additions and 4 deletions
|
@ -22,13 +22,12 @@ inputs:
|
||||||
description: 'The maximum code length for the pull request to be sent to OpenAI.'
|
description: 'The maximum code length for the pull request to be sent to OpenAI.'
|
||||||
default: 6000
|
default: 6000
|
||||||
type: int
|
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:
|
SOURCE_AT:
|
||||||
description: 'Where is the source code located'
|
description: 'Where is the source code located'
|
||||||
default: 'github'
|
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}
|
${code}
|
||||||
\`\`\`'
|
\`\`\`'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue