fix: public prs should not be commented

This commit is contained in:
Andras Bacsai
2024-03-01 11:41:22 +01:00
parent 5322d446bd
commit a352e4cbf7
2 changed files with 9 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue, ShouldBeEncrypted
public function handle()
{
try {
if ($this->application->is_public_repository()) {
return;
}
if ($this->status === ProcessStatus::CLOSED) {
$this->delete_comment();
return;