Exemple #1
0
        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" }));
        }
Exemple #2
0
        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:")));
        }
Exemple #3
0
        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:")));
        }