Skip to content

Commit 789219d

Browse files
authored
Make merge_commit_sha nullable in GitHub server
Fixes #227.
1 parent 94a3628 commit 789219d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export const GitHubPullRequestSchema = z.object({
281281
updated_at: z.string(),
282282
closed_at: z.string().nullable(),
283283
merged_at: z.string().nullable(),
284-
merge_commit_sha: z.string(),
284+
merge_commit_sha: z.string().nullable(),
285285
assignee: GitHubIssueAssigneeSchema.nullable(),
286286
assignees: z.array(GitHubIssueAssigneeSchema),
287287
head: GitHubPullRequestHeadSchema,
@@ -375,4 +375,4 @@ export type CreateIssueOptions = z.infer<typeof CreateIssueOptionsSchema>;
375375
export type CreatePullRequestOptions = z.infer<typeof CreatePullRequestOptionsSchema>;
376376
export type CreateBranchOptions = z.infer<typeof CreateBranchOptionsSchema>;
377377
export type GitHubCreateUpdateFileResponse = z.infer<typeof GitHubCreateUpdateFileResponseSchema>;
378-
export type GitHubSearchResponse = z.infer<typeof GitHubSearchResponseSchema>;
378+
export type GitHubSearchResponse = z.infer<typeof GitHubSearchResponseSchema>;

0 commit comments

Comments
 (0)