Skip to content

Commit c62608c

Browse files
Tristano8andreasabel
authored andcommitted
add missing name field
1 parent 00fd2a3 commit c62608c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub/Data/Actions/WorkflowJobs.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ data Job = Job
4747
, jobConclusion :: !Text
4848
, jobStartedAt :: !UTCTime
4949
, jobCompletedAt :: !UTCTime
50+
, jobName :: !(Name Job)
5051
, jobSteps :: !(Vector JobStep)
5152
, jobRunCheckUrl :: !URL
5253
, jobLabels :: !(Vector Text)
@@ -84,6 +85,7 @@ instance FromJSON Job where
8485
<*> o .: "conclusion"
8586
<*> o .: "started_at"
8687
<*> o .: "completed_at"
88+
<*> o .: "name"
8789
<*> o .: "steps"
8890
<*> o .: "check_run_url"
8991
<*> o .: "labels"

0 commit comments

Comments
 (0)