diff --git a/pkg/clients/has/components.go b/pkg/clients/has/components.go index a3e378dc0e..de2477d56c 100644 --- a/pkg/clients/has/components.go +++ b/pkg/clients/has/components.go @@ -410,7 +410,7 @@ func (h *HasController) RetriggerComponentPipelineRun(component *appservice.Comp gitlabOrg := utils.GetEnv(constants.GITLAB_QE_ORG_ENV, constants.DefaultGitLabQEOrg) projectID, ok := prLabels["pipelinesascode.tekton.dev/source-project-id"] if !ok { - projectID = fmt.Sprintf("%s/%s", gitlabOrg, constants.DefaultGitLabRepoName) + projectID = fmt.Sprintf("%s/%s", gitlabOrg, repoName) } _, err := h.GitLab.CreateFile(projectID, util.GenerateRandomString(5), "test", branchName) if err != nil {