From 0bac887df228345fa10f6e7004c8aee1a9112a90 Mon Sep 17 00:00:00 2001 From: sindunuragarp Date: Fri, 20 Jun 2025 18:00:27 +0200 Subject: [PATCH 1/4] feat: add `labels` to PullRequestItem --- .../com/spotify/github/v3/prs/PullRequestItem.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/spotify/github/v3/prs/PullRequestItem.java b/src/main/java/com/spotify/github/v3/prs/PullRequestItem.java index 452cf3b2..07393f8d 100644 --- a/src/main/java/com/spotify/github/v3/prs/PullRequestItem.java +++ b/src/main/java/com/spotify/github/v3/prs/PullRequestItem.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -32,6 +32,8 @@ import java.util.List; import java.util.Optional; import javax.annotation.Nullable; + +import com.spotify.github.v3.issues.Label; import org.immutables.value.Value; /** Pull request item resource represents data returned during pull request list operation */ @@ -112,6 +114,10 @@ public interface PullRequestItem extends CloseTracking { @Nullable User user(); + /** A list of PR labels */ + @Nullable + List