This commit is contained in:
2025-04-17 00:38:53 +02:00
parent 5895e3d02c
commit d65f37739c
2 changed files with 9 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ func processConfiguredRepositoryAction(action *common.RepositoryWebhookEvent, co
}
if _, err := fs.Stat(os.DirFS(git.GetPath()), config.GitProjectName); errors.Is(err, os.ErrNotExist) {
common.PanicOnError(git.GitClone(gitPrj, config.Branch, prjGitRepo.SSHURL))
common.PanicOnError(git.GitClone(gitPrj, gitBranch, prjGitRepo.SSHURL))
}
switch action.Action {