From 7293c67b5efa11dbd1c96db83f380a0045987a7c Mon Sep 17 00:00:00 2001 From: tanhongit <35853002+tanhongit@users.noreply.github.com> Date: Tue, 25 Feb 2025 10:18:45 +0000 Subject: [PATCH] Fix styling --- src/Services/WebhookService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Services/WebhookService.php b/src/Services/WebhookService.php index d29b4d8..b4a3c63 100644 --- a/src/Services/WebhookService.php +++ b/src/Services/WebhookService.php @@ -87,7 +87,8 @@ protected function isStatusCommentEnabled(array $payload): bool { $fieldType = $payload['changes']['field_value']['field_type'] ?? ''; - return !((string) $fieldType === 'Status' + return !( + (string) $fieldType === 'Status' && (bool) config('github-project.enable_status_comment') === false ); }