[RFC] Allow merging via PR comments

Hi @driazati,

I think this is a great improvement to help empower more people to contribute without having to synchronise with those with certain powers in the project across many timezones and organisations, as well as providing some much needed consistency on commit messages. Could this implement some simple lint rules for commit messages as well to try to support better overall messages? Considering the new Commit Message Guideline work that @gromero is doing.

We also need a cooler bot name than tvm-bot to be competitive in the merge bot market though.

I think this would be just Committers who could give a “merge-able” approval in the ASF? Reviewers would continue to provide assistance to Committers though, potentially future bot commands could help with highlighting that.

Is there an “off-the-shelf” version here that works as we’d like? As @comaniac suggested, this is fairly common in other projects.

Isn’t the issue here that we want a PR to be active for a certain period where people can review it before it being merged due to some people working across different timezones etc? I’d prefer something minimal so as to encourage progress rather than creating new ways to hold up PRs, the Committer takes responsibility for approval either way. We can always follow a PR with another PR using the same bot :smile_cat:

I also don’t think we should limit who can ask for a merge given it’ll only function if the last commit has a positive review from a Committer - they’ll have to start the workflows anyway for a new person in the repo.

This should be an edge case, given patches should be self-contained and work in isolation; we should aim to encourage that level of discipline :smile_cat: If necessary, we should default fallback to human interaction to resolve these more complex scenarios.