So you could use GitHub/GitLab to trigger tasks.
We'd need to support some decent authentication. BasicAuth as a fallback, but then proper integration with GitHub/Lab's auth mechanism.
We'd need some way to look at what tasks are running and look at their output. As well as storing logs for old task runs.
Could we update GitHub/Lab with commit statuses too? (Too much? leave that for the task to organise itself?)