mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-21 09:24:55 +01:00
Update github.go
This commit is contained in:
@@ -95,7 +95,7 @@ func send(rawurl, host, owner, repo, status, desc, target, ref, token string) er
|
||||
// the base url. Per the documentation, we need to
|
||||
// ensure there is a trailing slash.
|
||||
if host != model.RemoteGithub {
|
||||
client.BaseURL, _ = getEndpoint(rawurl)
|
||||
client.BaseURL, _ = getEndpoint(rawurl)+"/"
|
||||
}
|
||||
|
||||
_, _, err := client.Repositories.CreateStatus(owner, repo, ref, &data)
|
||||
|
||||
Reference in New Issue
Block a user