Add govet parsing
This commit is contained in:
parent
4627bbbcb9
commit
aad8c6b884
5 changed files with 126 additions and 52 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue