Skip to content

Commit f8ac6b9

Browse files
authored
fix: automerge should be nullable in simplepullrequest (#27)
1 parent d1110bc commit f8ac6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Octokit.Webhooks/Models/SimplePullRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public sealed record SimplePullRequest
108108
public AuthorAssociation AuthorAssociation { get; init; }
109109

110110
[JsonPropertyName("auto_merge")]
111-
public bool AutoMerge { get; init; }
111+
public bool? AutoMerge { get; init; }
112112

113113
[JsonPropertyName("active_lock_reason")]
114114
public ActiveLockReason? ActiveLockReason { get; init; }

0 commit comments

Comments
 (0)