Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
kurozumi committed Sep 10, 2024
1 parent 92420d3 commit 49299b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Customize/Webhook/GithubRequestParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ protected function validateHeaders(HeaderBag $headers): void

protected function validatePayload(InputBag $payload): void
{
// プルリクがクローズドされていない場合はエラー
if ($payload->has('action') && 'closed' !== $payload->get('action')) {
throw new RejectWebhookException(406, 'Pull Request is not closed.');
}
Expand Down

0 comments on commit 49299b3

Please sign in to comment.