Skip to content

Commit 1d49e62

Browse files
committed
WorkflowJobResponse's runnerName and runnerGroupName are Nullable
Found a case where GitHub returns a null for these field.
1 parent 83c202a commit 1d49e62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ public interface WorkflowJobResponse {
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.)
140-
* (Required)
141140
*/
141+
@Nullable
142142
String runnerName();
143143

144144
/**
@@ -148,9 +148,9 @@ public interface WorkflowJobResponse {
148148
Integer runnerGroupId();
149149

150150
/**
151-
* 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.)
152-
* (Required)
151+
* 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.)* (Required)
153152
*/
153+
@Nullable
154154
String runnerGroupName();
155155

156156
/**

0 commit comments

Comments
 (0)