This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Disable admins to be able to push to protected branch #1390
Open
Description
Hi,
we use github on a daily basis. We are currently in the process to protect out master branches better and just allow very few people (like automated bots) to be able to push to master directly.
We found the branch protection rule Restrict who can push to matching branches
.
This sounds exactly like what we want, BUT it seems to default to repository and organization administrators:
We could not find a possibility to JUST allow the bots to be able to push directly.
Is there a way to JUST allow the bots to push to the master branch without a pull request?