fix(github): skip opened PR previews with skip ci

This commit is contained in:
Andras Bacsai
2026-07-08 14:41:37 +02:00
parent f4f4274cee
commit 3f960d94c3
2 changed files with 48 additions and 1 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ class ProcessGithubPullRequestWebhook implements ShouldBeEncrypted, ShouldQueue
$repo = $repository_parts[1] ?? '';
$headCommitMessage = null;
if ($this->action === 'synchronize') {
if ($this->action === 'opened' || $this->action === 'synchronize' || $this->action === 'reopened') {
$headCommitMessage = getGithubCommitMessage($githubApp, $owner, $repo, $this->commitSha);
}