Skip to content

Commit 83c202a

Browse files
committed
Fixed WorkflowJobResponse.runnerGroupId to be a Nullable Integer
Found a case where GitHub returns a null for this field.
1 parent 6353a68 commit 83c202a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/spotify/github/v3/actions/workflowjobs/WorkflowJobResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ public interface WorkflowJobResponse {
143143

144144
/**
145145
* The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
146-
* (Required)
147146
*/
148-
int runnerGroupId();
147+
@Nullable
148+
Integer runnerGroupId();
149149

150150
/**
151151
* The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)

0 commit comments

Comments
 (0)