This commit is contained in:
Adam Majer 2024-07-16 15:30:58 +02:00
parent f41320ba66
commit a1758ba643

View File

@ -63,11 +63,12 @@ func processPullRequestSync(h *common.RequestHandler) error {
} }
// nothing changed, still in sync // nothing changed, still in sync
if commitId == req.Pull_Request.Head.Ref { if commitId == req.Pull_Request.Head.Sha {
h.Log("commitID already match - nothing to do")
return nil return nil
} }
h.Log("different ids: '%s' vs. '%s'", req.Pull_Request.Head.Ref, commitId) h.Log("different ids: '%s' vs. '%s'", req.Pull_Request.Head.Sha, commitId)
commitMsg := fmt.Sprintf(`Sync PR commitMsg := fmt.Sprintf(`Sync PR