Skip to content
Permalink
Browse files

Use the right URL from the webhook data for cloning

  • Loading branch information...
decke committed Jun 3, 2019
1 parent a79ffc5 commit 09b22e06f0318f7d32e55fa1ad28f2eb2dbe9646
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.go
@@ -479,7 +479,7 @@ func parseConfig(file string) config {

_, ok = cfg.Queues[i].Environment["REPO_URL"]
if ! ok {
cfg.Queues[i].Environment["REPO_URL"] = "{{.PushEvent.Repository.HTMLURL}}"
cfg.Queues[i].Environment["REPO_URL"] = "{{.PushEvent.Repository.CloneURL}}"
}

_, ok = cfg.Queues[i].Environment["AUTHOR"]

0 comments on commit 09b22e0

Please sign in to comment.
You can’t perform that action at this time.