From 5b12309f26be089d568d415e887ada6734637e999dcd7ea6159eca326f578ec3 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 10 Jul 2024 00:01:33 +0200 Subject: [PATCH] . --- bots-common/request_pr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bots-common/request_pr.go b/bots-common/request_pr.go index 408cb6e..39e0a50 100644 --- a/bots-common/request_pr.go +++ b/bots-common/request_pr.go @@ -51,6 +51,7 @@ func (h *RequestHandler) parsePullRequest(data io.ReadCloser) *PullRequestAction repoIdx := strings.LastIndex(action.Repository.Ssh_Url, "/") if repoIdx == -1 || action.Repository.Ssh_Url[repoIdx+1:] != action.Repository.Name+".git" { h.LogError("Unexpected URL for SSH repository: '%s'", action.Repository.Name) + h.LogError("%#v", action) return nil } h.PrjGit = action.Repository.Ssh_Url[:repoIdx+1] + DefaultGitPrj + ".git"