Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RequireCodeOwnerReviews cannot be set to false when updating #2286

@leopoldwang

Description

@leopoldwang

RequireCodeOwnerReviews field does not use pointer type causing json encode to omit the field. Request was then rejected by github rest api

RequireCodeOwnerReviews bool `json:"require_code_owner_reviews,omitempty"`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking API ChangePR will require a bump to the major version num in next release. Look here to see the change(s).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions