mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
ci: Update prompt to reduce time spent re-checking comments
I noticed looking at the logs that claude spends a lot of time re-checking existing comments, so let's update the prompt to hopefully reduce the amount of comments that it re-checks.
This commit is contained in:
committed by
Daan De Meyer
parent
2c5e0cfb1d
commit
2c01818816
11
.github/workflows/claude-review.yml
vendored
11
.github/workflows/claude-review.yml
vendored
@@ -232,8 +232,15 @@ jobs:
|
||||
- `issue_comments` — array of issue comments on the PR from the GitHub API
|
||||
- `tracking_comment` — body of the existing tracking comment (null on first run);
|
||||
if present, use it as the basis for your `summary` in Phase 3
|
||||
- `review_comments` — array of inline review comments from the GitHub API;
|
||||
you will need the `id` fields in Phase 3 to populate the `resolve` array
|
||||
- `review_comments` — array of ALL inline review comments on the PR from the
|
||||
GitHub API. Use these as context, but observe the following rules:
|
||||
- Only re-check your own comments (user.login == "github-actions[bot]" and
|
||||
body starts with "Claude: "). Do NOT validate, re-raise, respond to, or
|
||||
duplicate comments from other authors.
|
||||
- Items checked off in the tracking comment (`- [x]`) are resolved. Do NOT
|
||||
re-check or re-raise review comments that correspond to resolved items.
|
||||
- You will need the `id` fields of your own unresolved comments in Phase 3
|
||||
to populate the `resolve` array.
|
||||
|
||||
The PR branch has been fetched locally as `pr-review`. Use
|
||||
`git log --reverse --format=%H HEAD..pr-review` to list the PR commits, and
|
||||
|
||||
Reference in New Issue
Block a user