Skip to content

Branch protection rules for all repos #152

@foolip

Description

@foolip

This is a subset of #113.

In w3c/validate-repos#27 it's being discussed to require review for the default branch in W3C repos, and as part of that I've worked on that tooling. There are things currently being checked:

  • is the default branch protected?
  • is review required on that branch?
  • is this enforced for admins as well?

I've run the tool with some tweaks to extract the state of WHATWG repos:

repo branch protection review required admin enforced
books
compat
console
dom
encoding
fetch
figures
fullscreen
html
html-build
infra
loader
meta
mimesniff
misc-server
notifications
participant-data
participate.whatwg.org
platform.html5.org
quirks
sg
storage
streams
url
wattsi
web-history
whatwg.org
xhr

(Updated 2019-12-17)

I would argue we should enable branch protection and required review for all repos, since this is effectively how everyone is already operating. The admin enforcement is less important, and enabling it creates more work if one needs to bypass flaky CI, so I propose no change there.

@whatwg/editors what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions