Add govet parsing

This commit is contained in:
Miguel de la Cruz 2020-04-27 17:47:13 +02:00
parent 4627bbbcb9
commit aad8c6b884
5 changed files with 126 additions and 52 deletions

View file

@ -71,6 +71,10 @@ func (c *GithubClient) PublishNextTicket(cmp *model.Campaign, dryRun bool) (bool
}
ticket.GithubLink = issue.GetNumber()
if user := issue.GetUser(); user != nil {
ticket.GithubAssignee = user.GetLogin()
}
ticket.GithubStatus = issue.GetState()
if err := campaign.Save(cmp); err != nil {
return false, err
}