RequireCodeOwnerReviews field does not use pointer type causing json encode to omit the field. Request was then rejected by github rest api https://github.com/google/go-github/blob/2be8000e79e36b1ae7df87194566694b3783cd92/github/repos.go#L948
RequireCodeOwnerReviews field does not use pointer type causing json encode to omit the field. Request was then rejected by github rest api
go-github/github/repos.go
Line 948 in 2be8000