Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkg/github/minimal_types.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -262,6 +262,7 @@ type MinimalPullRequest struct {
ClosedAt string `json:"closed_at,omitempty"`
MergedAt string `json:"merged_at,omitempty"`
Milestone string `json:"milestone,omitempty"`
AuthorAssociation string `json:"author_association,omitempty"`
}

// MinimalPRBranch is the trimmed output type for pull request branch references.
Expand DownExpand Up@@ -508,7 +509,8 @@ func convertToMinimalPullRequest(pr *github.PullRequest) MinimalPullRequest {
Deletions: pr.GetDeletions(),
ChangedFiles: pr.GetChangedFiles(),
Commits: pr.GetCommits(),
Comments: pr.GetComments(),
Comments: pr.GetComments(),
AuthorAssociation: pr.GetAuthorAssociation(),
}

if pr.CreatedAt != nil {
Expand Down