diff --git a/pkg/services/github.go b/pkg/services/github.go index 5971db5e..ac237f44 100644 --- a/pkg/services/github.go +++ b/pkg/services/github.go @@ -660,11 +660,11 @@ func (g gitHubService) Send(notification Notification, _ Destination) error { } if notification.GitHub.CheckRun != nil { - startedTime, err := time.Parse("YYYY-MM-DDTHH:MM:SSZ", notification.GitHub.CheckRun.StartedAt) + startedTime, err := time.Parse(time.RFC3339, notification.GitHub.CheckRun.StartedAt) if err != nil { return err } - completedTime, err := time.Parse("YYYY-MM-DDTHH:MM:SSZ", notification.GitHub.CheckRun.CompletedAt) + completedTime, err := time.Parse(time.RFC3339, notification.GitHub.CheckRun.CompletedAt) if err != nil { return err } @@ -687,6 +687,8 @@ func (g gitHubService) Send(notification Notification, _ Destination) error { ExternalID: &externalID, Name: notification.GitHub.CheckRun.Name, DetailsURL: ¬ification.GitHub.CheckRun.DetailsURL, + Status: ¬ification.GitHub.CheckRun.Status, + Conclusion: ¬ification.GitHub.CheckRun.Conclusion, StartedAt: &github.Timestamp{Time: startedTime}, CompletedAt: &github.Timestamp{Time: completedTime}, Output: checkRunOutput,