Skip to content
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
@huehnerlady

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:
screen shot 2018-10-24 at 10 42 57

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?

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions