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

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 21 05:12:57 PDT 2019


On 20 Mar 2019, at 18:23, Arthur O'Dwyer via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> Server-side hooks are the answer to this problem. There is no problem. You just use a server-side hook.

It is quite unlikely that GitHub will allow LLVM (or any other project) to run arbitrary post-receive hooks.  It is far more likely that they will give an option that disables the merge button in PRs.  It is already possible to prevent direct pushes to master by anyone, so this would be a very small change (literally disabling one button in the UI).  

David





More information about the cfe-dev mailing list