Skip to content

Commit

Permalink
Merge pull request #58 from Laravel-Lang/1.x
Browse files Browse the repository at this point in the history
Fixed processing of incoming webhooks with incorrect data
  • Loading branch information
andrey-helldar authored Mar 31, 2024
2 parents 0e01a10 + f4107dd commit 76c633a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/AutoMergeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function rules(): array
'pull_request.head.sha' => ['required', 'string'],
'pull_request.title' => ['required', 'string'],
'pull_request.body' => ['required', 'string'],
'pull_request.mergeable' => ['required', 'bool'],
'pull_request.mergeable' => ['required', 'nullable', 'bool'],

'pull_request.state' => ['required', 'string', 'in:open'],
'pull_request.locked' => ['required', 'bool', 'declined'],
Expand Down

0 comments on commit 76c633a

Please sign in to comment.