.
This commit is contained in:
parent
f41320ba66
commit
a1758ba643
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user