mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
fix(github): skip opened PR previews with skip ci
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user