Skip to content

Missing API code owner approval for protected branches #1436

@daniellanner

Description

@daniellanner

Summary

The branch manager is missing an attribute implementation of code_owner_approval_required as documented in GitLab API documentation

Expected Behavior

ProjectProtectedBranchManager.code_owner_approval_required should be implemented to mirror the API as documented:

Attribute Type Required Description
code_owner_approval_required boolean no Prevent pushes to this branch if it matches an item in the CODEOWNERS file. (defaults: false)

Actual Behavior

code_owner_approval_required is not available as attribute in ProjectProtectedBranchManager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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