public override Task Process(string data) { var p = new PullRequestUrl(data); var c = GitClerk.CreateClient(); return(UpdateLabels(c, p, new[] { "ready for review", "ready to land", "comments addressed" }, new[] { "question" })); }
public override Task Process(string data) { var p = new PullRequestUrl(data); var c = GitClerk.CreateClient(); return(Task.WhenAll( UpdateLabels(c, p, new[] { "ready for review", "question" }, new[] { "ready to land" }), c.Issue.Comment.Create(p.Owner, p.Repo, p.Ticket, "LGTM :rainbow:"))); }
public override Task Process(string data) { var p = new PullRequestUrl(data); var c = GitClerk.CreateClient(); return(Task.WhenAll( UpdateLabels(c, p, new [] { "needs pollinating" }), c.Issue.Comment.Create(p.Owner, p.Repo, p.Ticket, ":hibiscus:"))); }