Skip to content

Commit 6353a68

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

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
@@ -131,9 +131,9 @@ public interface WorkflowJobResponse {
131131

132132
/**
133133
* The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
134-
* (Required)
135134
*/
136-
int runnerId();
135+
@Nullable
136+
Integer runnerId();
137137

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

0 commit comments

Comments
 (0)