diff --git a/scm/driver/harness/webhook.go b/scm/driver/harness/webhook.go index 33be360b4..c4b7173e0 100644 --- a/scm/driver/harness/webhook.go +++ b/scm/driver/harness/webhook.go @@ -172,6 +172,7 @@ type ( hookCommit struct { Sha string `json:"sha"` Message string `json:"message"` + URL string `json:"url"` Author struct { Identity struct { Name string `json:"name"` @@ -272,6 +273,7 @@ func convertHookCommit(c hookCommit) scm.Commit { Name: c.Committer.Identity.Name, Email: c.Committer.Identity.Email, }, + Link: c.URL, } }