Question
Is it possible to configure github to disable one of these buttons based on some Pull Request details, for example when a branch name starts with release/*
, but keep the second button enabled?
Context
In my project we have a rule to use “Squash and merge” for Pull Request with features and “Rebase and merge” button for Pull Requests prepared for releases, so we keep git history for commits.