Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protected branch settings #11

Open
ptheywood opened this issue Apr 9, 2021 · 1 comment
Open

Protected branch settings #11

ptheywood opened this issue Apr 9, 2021 · 1 comment

Comments

@ptheywood
Copy link
Member

ptheywood commented Apr 9, 2021

We should protect master so that CI must pass before things can be merged / committed to it, as th CI then publishses the contents of this branch to gh-pages.

This will mean that we have to use PRs to get content into master, which will slow down rapid fixes, so probably better to do this once the docs are in a more complete state.

It would be nice if we can also prevent the gh-pages branch being deleted or PRs being made against it (not sure if possible, although we could make ci fail (and therefore block merging via a branch protection rule)

@Robadob
Copy link
Member

Robadob commented Apr 9, 2021

not sure if possible

Appears you can limit branches to only be pushable by certain apps/users

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants