[cfe-dev] [Openmp-dev] [GitHub] RFC: Enforcing no merge commit policy

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Tue Apr 9 00:39:34 PDT 2019


On 09/04/2019 00:32, Tom Stellard via cfe-dev wrote:
> As a backup plan, I am going to look into implementing option #1, but instead
> of having git-llvm create a pull request, it would push first to a staging
> branch and then push to master if a 'no-merge commit' status checks pass.  This
> is essentially the same flow as using pull requests, but without all the
> pull request noise.

I don't think that you can enforce this policy on the server side.  You 
could; however, make git-llvm create a pull request and, if the relevant 
checks pass, automatically use the GitHub APIs to do a rebase and merge.

David



More information about the cfe-dev mailing list