]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: Add issue comments to pr context for claude-review as well
authorDaan De Meyer <daan@amutable.com>
Tue, 17 Mar 2026 22:10:01 +0000 (23:10 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 17 Mar 2026 22:48:54 +0000 (23:48 +0100)
Follow up for fb513a7e1c5aa5f1ac7a274a0ebf9a6ed7fc02d1. The issue
comments are the regular comments left on the pr.

.github/workflows/claude-review.yml

index afcae1c9e97771960d1f3b98078e86747caa73f6..652dfd61a5b22c1f1986c901d130e3cfdbcd40ea 100644 (file)
@@ -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;