Skip to content

Add support for Lock branch - read-only #80

Description

@slawekjaranowski

There is options that can set a branch as read-only, is some case when we finish works in specific version/branch it can be useful.

Docs:
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#lock-branch

There is also in api: lock_branch
https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#update-branch-protection

I don't know if it possible to implement also for ASF GitBox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions