Add review guidelines
This commit is contained in:
+3
-1
@@ -24,5 +24,7 @@ runs:
|
|||||||
GITEA_API_URL: ${{ gitea.api_url }}
|
GITEA_API_URL: ${{ gitea.api_url }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
GITEA_TOKEN: ${{ inputs.gitea-token }}
|
GITEA_TOKEN: ${{ inputs.gitea-token }}
|
||||||
ISSUE_INDEX: ${{ gitea.event.issue.number }}
|
EVENT_NAME: ${{ gitea.event_name }}
|
||||||
|
ISSUE_INDEX: >
|
||||||
|
${{ gitea.event.issue.number || gitea.event.pull_request.number }}
|
||||||
COMMENT_BODY: ${{ gitea.event.comment.body }}
|
COMMENT_BODY: ${{ gitea.event.comment.body }}
|
||||||
|
|||||||
+9
-1
@@ -4,7 +4,14 @@ Do not post a final issue comment yourself; your final response is posted
|
|||||||
automatically. Post additional comments only when needed for PR updates,
|
automatically. Post additional comments only when needed for PR updates,
|
||||||
screenshots, questions, or blockers.
|
screenshots, questions, or blockers.
|
||||||
|
|
||||||
Treat the triggering comment body below as the user's exact instruction.
|
For a `pull_request` event, review the newly opened PR without changing code. If
|
||||||
|
changes are needed, include `@bot` in the final response with instructions to
|
||||||
|
fix the findings. Otherwise, do not mention `@bot`. For UI changes, check that
|
||||||
|
the result is aligned, clean, and pixel-perfect, and that included screenshots
|
||||||
|
prove the intended result was achieved.
|
||||||
|
|
||||||
|
For an `issue_comment` event, treat the triggering comment body below as the
|
||||||
|
user's exact instruction.
|
||||||
|
|
||||||
Install missing tools yourself when needed, including Rust, uv, Node, Deno, or
|
Install missing tools yourself when needed, including Rust, uv, Node, Deno, or
|
||||||
system packages.
|
system packages.
|
||||||
@@ -32,6 +39,7 @@ ${ISSUE_COMMENTS}
|
|||||||
|
|
||||||
# Gitea context
|
# Gitea context
|
||||||
|
|
||||||
|
- Event: `${EVENT_NAME}`
|
||||||
- API URL: `${GITEA_API_URL}`
|
- API URL: `${GITEA_API_URL}`
|
||||||
- Repository: `${GITEA_REPOSITORY}`
|
- Repository: `${GITEA_REPOSITORY}`
|
||||||
- Issue index: `${ISSUE_INDEX}`
|
- Issue index: `${ISSUE_INDEX}`
|
||||||
|
|||||||
Reference in New Issue
Block a user