зеркало из https://github.com/golang/build.git
cmd/gerritbot: include link to wiki in import messages
Update golang/go#18517 Change-Id: I5c7980d07db368c90c2e76610ee4c854cec27b60 Reviewed-on: https://go-review.googlesource.com/92936 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
9a4204b0d0
Коммит
f0cb6847bc
|
@ -561,7 +561,8 @@ func (b *bot) importGerritChangeFromPR(ctx context.Context, pr *github.PullReque
|
||||||
|
|
||||||
Please visit %s to see it.
|
Please visit %s to see it.
|
||||||
|
|
||||||
Tip: You can toggle comments on/off from GerritBot using the %s slash command (e.g. %s)`,
|
Tip: You can toggle comments from me using the %s slash command (e.g. %s)
|
||||||
|
See the [Wiki page](https://golang.org/wiki/GerritBot) for more info`,
|
||||||
pr.Head.GetSHA(), changeURL, "`comments`", "`/comments off`")
|
pr.Head.GetSHA(), changeURL, "`comments`", "`/comments off`")
|
||||||
return b.postGitHubMessageNoDup(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber(), msg)
|
return b.postGitHubMessageNoDup(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber(), msg)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче