From 155b546bc0c3ae6eed3a644960dddf79b86d9ad6 Mon Sep 17 00:00:00 2001 From: Luke Young <91491244+lyoung-confluent@users.noreply.github.com> Date: Tue, 15 Nov 2022 05:11:05 -0800 Subject: [PATCH] Add parents field to timeline events (#2566) --- github/issues_timeline.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/issues_timeline.go b/github/issues_timeline.go index 9ec498e45c..7b9068acc5 100644 --- a/github/issues_timeline.go +++ b/github/issues_timeline.go @@ -35,6 +35,8 @@ type Timeline struct { SHA *string `json:"sha,omitempty"` // The commit message. Message *string `json:"message,omitempty"` + // A list of parent commits. + Parents []*Commit `json:"parents,omitempty"` // Event identifies the actual type of Event that occurred. Possible values // are: