fix: commit message length

This commit is contained in:
Andras Bacsai 2024-05-16 17:22:32 +02:00
parent 36e8c52b01
commit 9f506eb83a

View File

@ -1179,12 +1179,11 @@ private function clone_repository()
]
);
if ($this->saved_outputs->get('commit_message')) {
$commit_message = str($this->saved_outputs->get('commit_message'))->limit(50);
$commit_message = str($this->saved_outputs->get('commit_message'))->limit(47);
$this->application_deployment_queue->commit_message = $commit_message->value();
ApplicationDeploymentQueue::whereCommit($this->commit)->whereApplicationId($this->application->id)->update(
['commit_message' => $commit_message->value()]
);
$this->application_deployment_queue->save();
}
}