From 900fa1865fdf12413c3857c49e39a7f4c3486593 Mon Sep 17 00:00:00 2001 From: Luke Young <91491244+lyoung-confluent@users.noreply.github.com> Date: Mon, 14 Nov 2022 21:59:01 -0800 Subject: [PATCH 1/2] Add parents to timeline events --- github/issues_timeline.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/issues_timeline.go b/github/issues_timeline.go index 9ec498e45c..d223e23b30 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"` + // The commit parents. + Parents []*Commit `json:"parents,omitempty"` // Event identifies the actual type of Event that occurred. Possible values // are: From 35caea33fc81f238648e9655ca9b841b34cfe630 Mon Sep 17 00:00:00 2001 From: Luke Young <91491244+lyoung-confluent@users.noreply.github.com> Date: Mon, 14 Nov 2022 22:01:22 -0800 Subject: [PATCH 2/2] match upstream comment --- github/issues_timeline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/issues_timeline.go b/github/issues_timeline.go index d223e23b30..7b9068acc5 100644 --- a/github/issues_timeline.go +++ b/github/issues_timeline.go @@ -35,7 +35,7 @@ type Timeline struct { SHA *string `json:"sha,omitempty"` // The commit message. Message *string `json:"message,omitempty"` - // The commit parents. + // A list of parent commits. Parents []*Commit `json:"parents,omitempty"` // Event identifies the actual type of Event that occurred. Possible values