Consider pull request reviews
This commit is contained in:
+2
-3
@@ -15,8 +15,7 @@ runs:
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends gettext-base jq ansifilter
|
||||
npm install -g @openai/codex
|
||||
|
||||
- name: Run Codex Bot
|
||||
- name: Run Codex
|
||||
shell: bash
|
||||
run: bash "${ACTION_PATH}/scripts/run-codex.sh"
|
||||
env:
|
||||
@@ -26,4 +25,4 @@ runs:
|
||||
GITEA_TOKEN: ${{ inputs.gitea-token }}
|
||||
EVENT_NAME: ${{ gitea.event_name }}
|
||||
ISSUE_INDEX: ${{ gitea.event.issue.number || gitea.event.pull_request.number }}
|
||||
COMMENT_BODY: ${{ gitea.event.comment.body }}
|
||||
COMMENT: ${{ toJSON(gitea.event.comment || gitea.event.review) }}
|
||||
|
||||
+4
-4
@@ -14,8 +14,8 @@ 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.
|
||||
For an `issue_comment` or `pull_request_review_comment` event, treat the `body`
|
||||
in the triggering comment payload below as the user's exact instruction.
|
||||
|
||||
Install missing tools yourself when needed, including Rust, uv, Node, Deno, or
|
||||
system packages.
|
||||
@@ -37,10 +37,10 @@ for Gitea Actions CI to complete, and fix any failures.
|
||||
If you modify UI code, include Playwright screenshots in your PR or issue
|
||||
comments. If you need UI clarification, ask with screenshots when helpful.
|
||||
|
||||
# Comment body
|
||||
# Comment payload
|
||||
|
||||
```
|
||||
${COMMENT_BODY}
|
||||
${COMMENT}
|
||||
```
|
||||
|
||||
# Full issue comment history
|
||||
|
||||
Reference in New Issue
Block a user