diff --git a/webhook_server/libs/pull_request_handler.py b/webhook_server/libs/pull_request_handler.py index 0bfd7e19..1236ec64 100644 --- a/webhook_server/libs/pull_request_handler.py +++ b/webhook_server/libs/pull_request_handler.py @@ -66,7 +66,7 @@ async def process_pull_request_webhook_data(self, pull_request: PullRequest) -> if hook_action == "edited": await self.set_wip_label_based_on_title(pull_request=pull_request) - if self.hook_data["changes"].get("title"): + if self.github_webhook.conventional_title and self.hook_data["changes"].get("title"): self.logger.info(f"{self.log_prefix} PR title changed, running conventional title check") await self.runner_handler.run_conventional_title_check(pull_request=pull_request)