diff --git a/src/github/schemas.ts b/src/github/schemas.ts index 213458eb..83bf3736 100644 --- a/src/github/schemas.ts +++ b/src/github/schemas.ts @@ -281,7 +281,7 @@ export const GitHubPullRequestSchema = z.object({ updated_at: z.string(), closed_at: z.string().nullable(), merged_at: z.string().nullable(), - merge_commit_sha: z.string(), + merge_commit_sha: z.string().nullable(), assignee: GitHubIssueAssigneeSchema.nullable(), assignees: z.array(GitHubIssueAssigneeSchema), head: GitHubPullRequestHeadSchema, @@ -375,4 +375,4 @@ export type CreateIssueOptions = z.infer; export type CreatePullRequestOptions = z.infer; export type CreateBranchOptions = z.infer; export type GitHubCreateUpdateFileResponse = z.infer; -export type GitHubSearchResponse = z.infer; \ No newline at end of file +export type GitHubSearchResponse = z.infer;