We have a git repo hosted on GitHub using a successful git branching model .
To protect the leading and dev branches, we have a couple of CODEOWNERS files . PR server requires user A approval and PR for dev requires user A, B or C user approval.
I'm not sure how to handle the versions of the CODEOWNERS files themselves. Ideally, we would like them to remain static, however, initiating PR between dev or master results in merge conflicts due to different CODEOWNERS files.
Is it possible to set the branch history so that master / dev does not try to sync CODEOWNERS files? What commits do I need to do?
I am the repo administrator, so temporarily disable the PR requirements for master / dev.
source
share