Skip to content

Commit 155b546

Browse files
Add parents field to timeline events (#2566)
1 parent ddfa307 commit 155b546

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

github/issues_timeline.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ type Timeline struct {
3535
SHA *string `json:"sha,omitempty"`
3636
// The commit message.
3737
Message *string `json:"message,omitempty"`
38+
// A list of parent commits.
39+
Parents []*Commit `json:"parents,omitempty"`
3840

3941
// Event identifies the actual type of Event that occurred. Possible values
4042
// are:

0 commit comments

Comments
 (0)