Reputation: 1714
We are moving from BitBucket to gitlab. We have created a gitlab pipelines and would like the .gitlab-ci.yml file only to be edited by few selected developers and not by the others in the team. How can we achieve it?
Condition:
We have tried the Codeowners feature but seems it doesn't stop someone from editing the CODEOWNERS file. Hence some one can change the codeowners file and push a change to the .gitlab-ci.yml file to a protected branch.
We have a large team and few code reviewers. Even if have protected branches which few people can approve MRs, there is a possibility that some changes getting missed.
Is there another way to do it?
Upvotes: 0
Views: 23