Allow only branch creator to delete Github branch

I have branch protection rule in place in Github which matches all branches so none can be deleted. I want to change that to a case where the person who created the branch should be able to delete it. So, I can delete my branch but not of someone else's and vice versa

Is there a way to do that?

Read more here:

Content Attribution

This content was originally published by Kohini at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: