mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
fix(github): skip opened PR previews with skip ci
This commit is contained in:
1 parent
f4f4274cee
commit
3f960d94c3
2 files changed
+48
-1
No files matched your search
@@ -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