diff --git a/modules/notification/bots/bots.go b/modules/notification/bots/bots.go index 0d596f5328..231625e74b 100644 --- a/modules/notification/bots/bots.go +++ b/modules/notification/bots/bots.go @@ -102,7 +102,7 @@ func notifyWithPR(repo *repo_model.Repository, doer *user_model.User, ref string if len(run.Title) > 255 { run.Title = run.Title[:255] // FIXME: we should use a better method to cut title } - jobs, err := jobparser.Parse(content) // TODO: parse with options + jobs, err := jobparser.Parse(content) if err != nil { log.Error("jobparser.Parse: %v", err) continue diff --git a/routers/web/repo/bots/view.go b/routers/web/repo/bots/view.go index 1893aeaa54..30b5f58bf8 100644 --- a/routers/web/repo/bots/view.go +++ b/routers/web/repo/bots/view.go @@ -121,7 +121,6 @@ func ViewPost(ctx *context_module.Context) { resp.StateData.AllJobGroups = []ViewGroup{ { - // TODO: maybe we don't need job group Jobs: respJobs, }, }