I’m trying to set up protected branches so that we don’t push to a branch by accident that kicks off any of our automations. I’ve set up my repository to have two teams with write access (call them dev and ops), and then I’ve set up a protected branch which will only allow the ops team to push to it.
However, when testing we find that people in the dev team are still able to push to the protected branch.
Am I doing something wrong? The docs suggest that administrators and those with Maintain access will always be able to push, but the dev team definitely only has write access, and the members of the dev team definitely don’t have access to the repo from anywhere else.
Thanks in advance!