File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ type ActionWorkflowRun struct {
104104 HeadRepository * Repository `json:"head_repository,omitempty"`
105105 Conclusion string `json:"conclusion,omitempty"`
106106 // swagger:strfmt date-time
107- StartedAt time.Time `json:"started_at,omitempty "`
107+ StartedAt time.Time `json:"started_at"`
108108 // swagger:strfmt date-time
109- CompletedAt time.Time `json:"completed_at,omitempty "`
109+ CompletedAt time.Time `json:"completed_at"`
110110}
111111
112112// ActionWorkflowRunsResponse returns ActionWorkflowRuns
Original file line number Diff line number Diff line change @@ -1136,7 +1136,7 @@ jobs:
11361136 assert .Equal (t , "workflow_run" , webhookData .triggeredEvent )
11371137 // 1x push + 5x workflow_run requested chain
11381138 assert .Len (t , webhookData .payloads , 6 )
1139- for i := 0 ; i < 6 ; i ++ {
1139+ for i := range 6 {
11401140 assert .Equal (t , "requested" , webhookData .payloads [i ].Action )
11411141 assert .Equal (t , "queued" , webhookData .payloads [i ].WorkflowRun .Status )
11421142 assert .Equal (t , repo1 .DefaultBranch , webhookData .payloads [i ].WorkflowRun .HeadBranch )
You can’t perform that action at this time.
0 commit comments