Skip to content

Commit cbd2a8e

Browse files
committed
add pr review id to prs.comment
1 parent c75156e commit cbd2a8e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/java/com/spotify/github/v3/prs/Comment.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,8 @@ public interface Comment extends UpdateTracking {
129129
/** Node ID */
130130
@Nullable
131131
String nodeId();
132+
133+
/** Pull request review ID. */
134+
@Nullable
135+
Long pullRequestReviewId();
132136
}

src/test/java/com/spotify/github/v3/clients/PullRequestClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,5 +371,6 @@ public void testCreateCommentReply() throws Throwable {
371371
assertThat(comment.line(), is(2));
372372
assertThat(comment.originalLine(), is(2));
373373
assertThat(comment.side(), is("RIGHT"));
374+
assertThat(comment.pullRequestReviewId(), is(42L));
374375
}
375376
}

0 commit comments

Comments
 (0)