Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Services/WebhookService.php
  • Loading branch information
tanhongit committed Feb 25, 2025
2 parents ccfc74f + 7293c67 commit 59834ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Services/WebhookService.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ protected function isStatusCommentEnabled(array $payload): bool
{
$fieldType = $payload['changes']['field_value']['field_name'] ?? '';

return !((string) $fieldType === 'Status'
return !(
(string) $fieldType === 'Status'
&& !config('github-project.enable_status_comment')
);
}
Expand Down

0 comments on commit 59834ea

Please sign in to comment.