todogroup / gh-issues

A curated set of issues related to GitHub and running corporate scale open source
http://todogroup.org
25 stars 4 forks source link

Optionally disable the merge/squash buttons on pull requests #42

Closed caabernathy closed 4 years ago

caabernathy commented 7 years ago

Disable the 'merge'/'squash' buttons on pull requests for repos that merge via some other method.

Some of our projects don't want merges via the GitHub UI. The merge flow via the GitHub UI frequently leads to one forgetful person using it and then hours of follow-on work to get the code back in sync.

caniszczyk commented 4 years ago
Screen Shot 2020-06-05 at 12 29 05 PM

This is possible now.

CH-RhyMoore commented 3 years ago

The above says "at least one option must be enabled." The OP says "disable" which means to me "no options have to be enabled."

Sure, you can disable merging and squashing and leave only rebasing. But that still leaves rebasing. Which has the extra constraint per documentation of always changes SHAs, even when not strictly necessary...a fairly major constraint.