Skip to content

Add "protected" property to branches #2181

Closed

Description

@ozkatz

Allow some branches to be configured as "protected". When configured, these branches cannot be directly written to (i.e. technically, will not have a staging area). These branches can only receive changes by being merged into.

This is useful when designing a CI/CD pipeline: assuming data consumers read from "main", we can configure pre-merge hooks to run and validate any new change being applied. This gives a strong guarantee to readers about the validity and quality of anything they see on main.

Activity

  1. added
    area/hooks
    on Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/hooksroadmap epic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions