Not long ago I requested Branch Protection on multiple branches, and that works great (thanks github!). However, there is one fatal flaw with it:
Removing stale protected branches is really hard.
For example, say my branch protection pattern is release-?.?, once I’ve released release-4.0 I want to delete release-3.0, but in order to do so, I have to remove my branch protection, delete it, then quickly add the branch protection back.
It would be great if I could delete a protected branch as an admin with some kind of confirmation.