mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
ci: Add issue comments to pr context for claude-review as well
Follow up for fb513a7e1c. The issue
comments are the regular comments left on the pr.
This commit is contained in:
committed by
Daan De Meyer
parent
fb513a7e1c
commit
f2210fda54
2
.github/workflows/claude-review.yml
vendored
2
.github/workflows/claude-review.yml
vendored
@@ -116,6 +116,7 @@ jobs:
|
||||
const prContext = {
|
||||
pr: pr.data,
|
||||
reviews,
|
||||
issue_comments: issueComments,
|
||||
tracking_comment: trackingCommentBody,
|
||||
review_comments: reviewComments,
|
||||
};
|
||||
@@ -243,6 +244,7 @@ jobs:
|
||||
It contains a JSON object with:
|
||||
- `pr` — full GitHub PR object (title, body, user, head SHA, etc.)
|
||||
- `reviews` — array of PR reviews from the GitHub API
|
||||
- `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;
|
||||
|
||||
Reference in New Issue
Block a user