| 25 | ) |
| 26 | |
| 27 | type PullRequest struct { |
| 28 | ID string |
| 29 | FullDatabaseID string |
| 30 | Number int |
| 31 | Title string |
| 32 | State string |
| 33 | Closed bool |
| 34 | URL string |
| 35 | BaseRefName string |
| 36 | BaseRefOid string |
| 37 | HeadRefName string |
| 38 | HeadRefOid string |
| 39 | Body string |
| 40 | Mergeable PullRequestMergeable |
| 41 | Additions int |
| 42 | Deletions int |
| 43 | ChangedFiles int |
| 44 | MergeStateStatus string |
| 45 | IsInMergeQueue bool |
| 46 | IsMergeQueueEnabled bool // Indicates whether the pull request's base ref has a merge queue enabled. |
| 47 | CreatedAt time.Time |
| 48 | UpdatedAt time.Time |
| 49 | ClosedAt *time.Time |
| 50 | MergedAt *time.Time |
| 51 | |
| 52 | AutoMergeRequest *AutoMergeRequest |
| 53 | |
| 54 | MergeCommit *Commit |
| 55 | PotentialMergeCommit *Commit |
| 56 | |
| 57 | Files struct { |
| 58 | Nodes []PullRequestFile |
| 59 | } |
| 60 | |
| 61 | Author Author |
| 62 | MergedBy *Author |
| 63 | HeadRepositoryOwner Owner |
| 64 | HeadRepository *PRRepository |
| 65 | Repository *PRRepository |
| 66 | IsCrossRepository bool |
| 67 | IsDraft bool |
| 68 | MaintainerCanModify bool |
| 69 | |
| 70 | BaseRef struct { |
| 71 | BranchProtectionRule struct { |
| 72 | RequiresStrictStatusChecks bool |
| 73 | RequiredApprovingReviewCount int |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | ReviewDecision string |
| 78 | |
| 79 | Commits struct { |
| 80 | TotalCount int |
| 81 | Nodes []PullRequestCommit |
| 82 | } |
| 83 | StatusCheckRollup struct { |
| 84 | Nodes []StatusCheckRollupNode |
nothing calls this directly
no outgoing calls
no test coverage detected